diff options
author | 2022-10-25 22:32:33 -0300 | |
---|---|---|
committer | 2022-11-07 10:14:15 +0100 | |
commit | b6662e37772715447aeff2538444ff291e02ea31 (patch) | |
tree | 509ef340e537d0d4422f42d56b5619e6a11df7eb /tools/perf/scripts/python/stackcollapse.py | |
parent | KVM: s390: pv: don't allow userspace to set the clock under PV (diff) | |
download | linux-dev-b6662e37772715447aeff2538444ff291e02ea31.tar.xz linux-dev-b6662e37772715447aeff2538444ff291e02ea31.zip |
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: 98b1d33dac5f ("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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions