diff options
author | Tang Bin <tangbin@cmss.chinamobile.com> | 2020-04-18 21:47:03 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-01 13:37:23 +0200 |
commit | b52649aee6243ea661905bdc5fbe28cc5f6dec76 (patch) | |
tree | c9eda5b546f9594a44e30089205143754130f862 /include/linux/xarray.h | |
parent | ae74c19faa7d7996e857e13165bd40fc4a285e0d (diff) |
iommu/qcom: Fix local_base status check
The function qcom_iommu_device_probe() does not perform sufficient
error checking after executing devm_ioremap_resource(), which can
result in crashes if a critical error path is encountered.
Fixes: 0ae349a0f33f ("iommu/qcom: Add qcom_iommu")
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200418134703.1760-1-tangbin@cmss.chinamobile.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions