diff options
| author | Dan Carpenter <[email protected]> | 2019-01-09 10:23:29 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-01-11 12:44:54 +0000 |
| commit | d7b6cc199b2dea602b4a2a681cf6d3223a61e2be (patch) | |
| tree | 4bbee1c161cfa67e241ab8d5fe7918e7c3d98653 /tools/perf/util/c++/clang.cpp | |
| parent | powerpc/perf: Update perf_regs structure to include MMCRA (diff) | |
| download | kernel-d7b6cc199b2dea602b4a2a681cf6d3223a61e2be.tar.gz kernel-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 <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions
