diff options
| author | Alexey Kardashevskiy <[email protected]> | 2021-10-20 13:23:13 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-10-25 00:41:14 +0000 |
| commit | 41ee7232fa5f3c034f22baa52bc287e494e2129a (patch) | |
| tree | 60bf6f64aeb45da6427a448e08347b02265453d5 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | powerpc/smp: do not decrement idle task preempt count in CPU offline (diff) | |
| download | kernel-41ee7232fa5f3c034f22baa52bc287e494e2129a.tar.gz kernel-41ee7232fa5f3c034f22baa52bc287e494e2129a.zip | |
powerpc/pseries/iommu: Use correct vfree for it_map
The it_map array is vzalloc'ed so use vfree() for it when creating
a huge DMA window failed for whatever reason.
While at this, write zero to it_map.
Fixes: 381ceda88c4c ("powerpc/pseries/iommu: Make use of DDW for indirect mapping")
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
