summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2023-05-11 07:42:15 +0300
committerJoerg Roedel <jroedel@suse.de>2023-05-23 09:15:58 +0300
commit5957c19305b10c73090b1390653ddf7e5e21aa35 (patch)
tree6d922fccf46059455b1acc0672548d1a24ccb9cd /arch/powerpc
parente996c12d76d0b1aa8d5f082c6074e82398061943 (diff)
downloadlinux-5957c19305b10c73090b1390653ddf7e5e21aa35.tar.xz
iommu: Tidy the control flow in iommu_group_store_type()
Use a normal "goto unwind" instead of trying to be clever with checking !ret and manually managing the unlock. Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/17-v5-1b99ae392328+44574-iommu_err_unwind_jgg@nvidia.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions