diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-01-09 13:23:29 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-01-11 23:44:54 +1100 |
commit | d7b6cc199b2dea602b4a2a681cf6d3223a61e2be (patch) | |
tree | 4bbee1c161cfa67e241ab8d5fe7918e7c3d98653 /tools/lib/api | |
parent | 6529870cb0323823f49b3e95d1760383910f96cd (diff) |
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/lib/api')
0 files changed, 0 insertions, 0 deletions