summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-03-14 14:00:56 +0100
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-01-16 18:03:04 +0200
commitb8f80bffd51f4ef029051d6898d9c2e3e5637dc3 (patch)
treedfb18ae7d3179fe5ea7052b4a4f1676a563125f2 /scripts
parenteaa27f34e91a14cdceed26ed6c6793ec1d186115 (diff)
downloadtalos-op-linux-b8f80bffd51f4ef029051d6898d9c2e3e5637dc3.tar.gz
talos-op-linux-b8f80bffd51f4ef029051d6898d9c2e3e5637dc3.zip
iommu/ipmmu-vmsa: Cleanup failures of ARM mapping creation or attachment
The ARM IOMMU mapping needs to be released when attaching the device fails. Add arm_iommu_release_mapping() to the error code path. This is safe to call with a NULL mapping, so no specific check is needed. Cleanup is also missing when failing to create a mapping. Jump to the error code path in that case instead of returning immediately. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud