b6662e3777
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
diag.c | ||
gaccess.c | ||
gaccess.h | ||
guestdbg.c | ||
intercept.c | ||
interrupt.c | ||
irq.h | ||
kvm-s390.c | ||
kvm-s390.h | ||
pci.c | ||
pci.h | ||
priv.c | ||
pv.c | ||
sigp.c | ||
trace-s390.h | ||
trace.h | ||
vsie.c |