diff options
author | 2019-01-09 13:23:29 +0300 | |
---|---|---|
committer | 2019-01-11 23:44:54 +1100 | |
commit | d7b6cc199b2dea602b4a2a681cf6d3223a61e2be (patch) | |
tree | 4bbee1c161cfa67e241ab8d5fe7918e7c3d98653 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | powerpc/perf: Update perf_regs structure to include MMCRA (diff) | |
download | wireguard-linux-d7b6cc199b2dea602b4a2a681cf6d3223a61e2be.tar.xz wireguard-linux-d7b6cc199b2dea602b4a2a681cf6d3223a61e2be.zip |
powerpc/powernv/npu: Allocate enough memory in pnv_try_setup_npu_table_group()
There is a typo so we accidentally allocate enough memory for a pointer
when we wanted to allocate enough for a struct.
Fixes: 0bd971676e68 ("powerpc/powernv/npu: Add compound IOMMU groups")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions