summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2023-06-08 05:19:34 +0300
committerJoerg Roedel <jroedel@suse.de>2023-06-16 17:36:45 +0300
commit5b00369fcf6d1ff9050b94800dc596925ff3623f (patch)
tree3f305fd30211eefc1f385d1e7e1ff9d8603ea2ad /arch/powerpc
parent858fd168a95c5b9669aac8db6c14a9aeab446375 (diff)
downloadlinux-5b00369fcf6d1ff9050b94800dc596925ff3623f.tar.xz
iommu/amd: Fix possible memory leak of 'domain'
Move allocation code down to avoid memory leak. Fixes: 29f54745f245 ("iommu/amd: Add missing domain type checks") Signed-off-by: Su Hui <suhui@nfschina.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Reviewed-by: Vasant Hegde <vasant.hegde@amd.com> Link: https://lore.kernel.org/r/20230608021933.856045-1-suhui@nfschina.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions