diff options
| author | Vivek Gautam <[email protected]> | 2017-07-06 09:37:00 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2017-07-20 09:30:28 +0000 |
| commit | c54451a5e2415948274bc71f469e5349469addcc (patch) | |
| tree | 0318cee60c8394a7bb616d58f8a21034fd580eda /drivers/net/xen-netback/interface.c | |
| parent | Revert "iommu/io-pgtable: Avoid redundant TLB syncs" (diff) | |
| download | kernel-c54451a5e2415948274bc71f469e5349469addcc.tar.gz kernel-c54451a5e2415948274bc71f469e5349469addcc.zip | |
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 <[email protected]>
[will: remove redundant assignment to fwspec]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
