summaryrefslogtreecommitdiffstats
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2021-10-21 00:23:13 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2021-10-25 11:41:14 +1100
commit41ee7232fa5f3c034f22baa52bc287e494e2129a (patch)
tree60bf6f64aeb45da6427a448e08347b02265453d5 /crypto/cipher.c
parent787252a10d9422f3058df9a4821f389e5326c440 (diff)
downloadlinux-stable-41ee7232fa5f3c034f22baa52bc287e494e2129a.tar.gz
linux-stable-41ee7232fa5f3c034f22baa52bc287e494e2129a.tar.bz2
linux-stable-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 <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211020132315.2287178-3-aik@ozlabs.ru
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions