Re: [PATCH v2]iommu/qcom:fix local_base status check

From: Tang Bin
Date: Fri May 01 2020 - 09:54:10 EST



On 2020/5/1 19:37, Joerg Roedel wrote:
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@xxxxxxxxxxxxxxxxxxxx>
---
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.

Thank you very much.

Tang Bin