summaryrefslogtreecommitdiff
path: root/arch/s390/kvm/diag.c
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.ibm.com>2022-06-28 16:56:08 +0300
committerJanosch Frank <frankja@linux.ibm.com>2022-07-13 17:42:11 +0300
commite40df9efd68a621734fe03efc68b8f3e8da47cf8 (patch)
tree3ff87f6000dafa1f00bca1c65fdeaee75e3205a5 /arch/s390/kvm/diag.c
parent72b1daff2671cef2c8cccc6c4e52f8d5ce4ebe58 (diff)
downloadlinux-e40df9efd68a621734fe03efc68b8f3e8da47cf8.tar.xz
KVM: s390: pv: clear the state without memset
Do not use memset to clean the whole struct kvm_s390_pv; instead, explicitly clear the fields that need to be cleared. Upcoming patches will introduce new fields in the struct kvm_s390_pv that will not need to be cleared. Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Link: https://lore.kernel.org/r/20220628135619.32410-8-imbrenda@linux.ibm.com Message-Id: <20220628135619.32410-8-imbrenda@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'arch/s390/kvm/diag.c')
0 files changed, 0 insertions, 0 deletions