aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kvm/interrupt.c
diff options
context:
space:
mode:
authorJanis Schoetterl-Glausch <[email protected]>2022-08-25 21:25:40 +0200
committerJanosch Frank <[email protected]>2022-09-21 16:18:35 +0200
commitb3cefd6bf16e7234ffbd4209f6083060f4e35f59 (patch)
tree146ea1af72f66beb80801cb6b8c0974765704c87 /arch/s390/kvm/interrupt.c
parente8c924a4fb6ef9a224423fb5542954acbda234b3 (diff)
KVM: s390: Pass initialized arg even if unused
This silences smatch warnings reported by kbuild bot: arch/s390/kvm/gaccess.c:859 guest_range_to_gpas() error: uninitialized symbol 'prot'. arch/s390/kvm/gaccess.c:1064 access_guest_with_key() error: uninitialized symbol 'prot'. This is because it cannot tell that the value is not used in this case. The trans_exc* only examine prot if code is PGM_PROTECTION. Pass a dummy value for other codes. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Janis Schoetterl-Glausch <[email protected]> Reviewed-by: Claudio Imbrenda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Borntraeger <[email protected]> Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'arch/s390/kvm/interrupt.c')
0 files changed, 0 insertions, 0 deletions