diff options
author | Rolf Eike Beer <[email protected]> | 2021-05-25 15:08:02 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-05-27 16:07:08 +0200 |
commit | 0ee74d5a48635c848c20f152d0d488bf84641304 (patch) | |
tree | 3bad8d46a95d36d38500cd6a4a493c6e39ed0164 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 54c80d907400189b09548039be8f3b6e297e8ae3 (diff) |
iommu/vt-d: Fix sysfs leak in alloc_iommu()
iommu_device_sysfs_add() is called before, so is has to be cleaned on subsequent
errors.
Fixes: 39ab9555c2411 ("iommu: Add sysfs bindings for struct iommu_device")
Cc: [email protected] # 4.11.x
Signed-off-by: Rolf Eike Beer <[email protected]>
Acked-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions