summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/s390-iommu.c
diff options
context:
space:
mode:
authorVivek Gautam <vivek.gautam@codeaurora.org>2017-07-06 15:07:00 +0530
committerWill Deacon <will.deacon@arm.com>2017-07-20 10:30:28 +0100
commitc54451a5e2415948274bc71f469e5349469addcc (patch)
tree0318cee60c8394a7bb616d58f8a21034fd580eda /drivers/iommu/s390-iommu.c
parent2984f7f3bb5a82df763c2d81444573ed86f36eb8 (diff)
downloadop-kernel-dev-c54451a5e2415948274bc71f469e5349469addcc.zip
op-kernel-dev-c54451a5e2415948274bc71f469e5349469addcc.tar.gz
iommu/arm-smmu: Fix the error path in arm_smmu_add_device
fwspec->iommu_priv is available only after arm_smmu_master_cfg instance has been allocated. We shouldn't free it before that. Also it's logical to free the master cfg itself without checking for fwspec. Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org> [will: remove redundant assignment to fwspec] Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu/s390-iommu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud