On 10/26/22 15:36, Matthew Rosato wrote:
On 10/25/22 9:32 PM, Rafael Mendonca wrote:
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: 98b1d33dac5f ("KVM: s390: pci: do initial setup for AEN interpretation")
Signed-off-by: Rafael Mendonca <rafaelmendsr@xxxxxxxxx>
Thanks for reporting & fixing.
Reviewed-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx>
After consulting Matt I've put this into the CI and I'll pick it once it
received a bit of coverage.