]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
s390/kvm: Use psw32_t instead of psw_compat_t
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 10 Nov 2025 18:54:34 +0000 (19:54 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 17 Nov 2025 10:10:37 +0000 (11:10 +0100)
kvm_s390_handle_lpsw() make use of the psw_compat_t type even though
the code has nothing to do with CONFIG_COMPAT, for which the type is
supposed to be used. Use psw32_t instead.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kvm/priv.c

index 9a71b6e00948ffba3c17f74ac0bd4a5a27d4f34a..0b14d894f38a8b15a0b00dc69cbb08227397904f 100644 (file)
@@ -754,7 +754,7 @@ int is_valid_psw(psw_t *psw)
 int kvm_s390_handle_lpsw(struct kvm_vcpu *vcpu)
 {
        psw_t *gpsw = &vcpu->arch.sie_block->gpsw;
-       psw_compat_t new_psw;
+       psw32_t new_psw;
        u64 addr;
        int rc;
        u8 ar;