diff options
| author | Haren Myneni <haren@linux.ibm.com> | 2020-04-17 02:02:43 -0700 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-04-20 16:53:14 +1000 |
| commit | 7673d6568b141f34b4b59232f8de8d484408d2ee (patch) | |
| tree | 5232eb72835862bb8d62351743e899b2f61a55ab /tools/perf/scripts/python/bin | |
| parent | dda44eb29c235735a5ceae283dc521cfca27885c (diff) | |
| download | linux-7673d6568b141f34b4b59232f8de8d484408d2ee.tar.gz linux-7673d6568b141f34b4b59232f8de8d484408d2ee.zip | |
crypto/nx: Initialize coproc entry with kzalloc
coproc entry is initialized during NX probe on power9, but not on P8.
nx842_delete_coprocs() is used for both and frees receive window if it
is allocated. Getting crash for rmmod on P8 since coproc->vas.rxwin
is not initialized.
This patch replaces kmalloc with kzalloc in nx842_powernv_probe()
Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1587114163.2275.1110.camel@hbabu-laptop
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
