[PATCH v2]iommu/qcom:fix local_base status check
Joerg Roedel
joro at 8bytes.org
Fri May 1 11:37:45 UTC 2020
On Sat, Apr 18, 2020 at 09:47:03PM +0800, Tang Bin wrote:
> 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 at cmss.chinamobile.com>
> ---
> v2:
> - fix commit message and add fixed tag
> ---
> drivers/iommu/qcom_iommu.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Applied for v5.7, thanks.
More information about the iommu
mailing list