acrn-kernel/arch/s390/kvm
Rafael Mendonca b6662e3777 KVM: s390: pci: Fix allocation size of aift kzdev elements
The 'kzdev' field of struct 'zpci_aift' is an array of pointers to
'kvm_zdev' structs. Allocate the proper size accordingly.

Reported by Coccinelle:
  WARNING: Use correct pointer type argument for sizeof

Fixes: 98b1d33dac ("KVM: s390: pci: do initial setup for AEN interpretation")
Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com>
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Link: https://lore.kernel.org/r/20221026013234.960859-1-rafaelmendsr@gmail.com
Message-Id: <20221026013234.960859-1-rafaelmendsr@gmail.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
2022-11-07 10:14:15 +01:00
..
Kconfig KVM: s390: pv: add mmu_notifier 2022-07-19 12:05:57 +00:00
Makefile KVM: s390: pci: add basic kvm_zdev structure 2022-07-11 09:54:27 +02:00
diag.c
gaccess.c KVM: s390: Pass initialized arg even if unused 2022-09-21 16:18:35 +02:00
gaccess.h KVM: s390: Cleanup ipte lock access and SIIF facility checks 2022-07-20 10:57:36 +02:00
guestdbg.c
intercept.c KVM: s390: pv: don't present the ecall interrupt twice 2022-07-19 15:48:14 +02:00
interrupt.c KVM: s390: pci: fix GAIT physical vs virtual pointers usage 2022-09-21 16:18:38 +02:00
irq.h
kvm-s390.c KVM: s390: pv: don't allow userspace to set the clock under PV 2022-11-07 10:14:15 +01:00
kvm-s390.h KVM: s390: pv: don't allow userspace to set the clock under PV 2022-11-07 10:14:15 +01:00
pci.c KVM: s390: pci: Fix allocation size of aift kzdev elements 2022-11-07 10:14:15 +01:00
pci.h KVM: s390: pci: fix plain integer as NULL pointer warnings 2022-09-21 16:18:30 +02:00
priv.c KVM: s390: guest support for topology function 2022-07-20 10:57:36 +02:00
pv.c KVM: s390: pv: destroy the configuration before its memory 2022-07-19 12:06:56 +00:00
sigp.c KVM: s390: pv: don't present the ecall interrupt twice 2022-07-19 15:48:14 +02:00
trace-s390.h
trace.h
vsie.c KVM: s390: guest support for topology function 2022-07-20 10:57:36 +02:00