diff options
author | Alexey Kardashevskiy <[email protected]> | 2021-10-21 00:23:13 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-10-25 11:41:14 +1100 |
commit | 41ee7232fa5f3c034f22baa52bc287e494e2129a (patch) | |
tree | 60bf6f64aeb45da6427a448e08347b02265453d5 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 787252a10d9422f3058df9a4821f389e5326c440 (diff) |
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