diff options
| author | Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> | 2020-11-19 19:58:46 +0300 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2020-11-23 17:57:41 +0300 |
| commit | 77c38c8cf52ef715bfc5cab3d14222d4f3e776e2 (patch) | |
| tree | c4b7f479a370af81423ea38c8a0dbe109b7543e1 /lib/test_fortify/write_overflow-strcpy.c | |
| parent | 72b55c96f3a5ae6e486c20b5dacf5114060ed042 (diff) | |
| download | linux-77c38c8cf52ef715bfc5cab3d14222d4f3e776e2.tar.xz | |
iommu: Check return of __iommu_attach_device()
Currently iommu_create_device_direct_mappings() is called
without checking the return of __iommu_attach_device(). This
may result in failures in iommu driver if dev attach returns
error.
Fixes: ce574c27ae27 ("iommu: Move iommu_group_create_direct_mappings() out of iommu_group_add_device()")
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Link: https://lore.kernel.org/r/20201119165846.34180-1-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions
