summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-05-19 12:18:57 +0300
committerJoerg Roedel <jroedel@suse.de>2020-05-19 15:06:15 +0300
commitae7d292324b4be60b6d39d2e06bf2a63752f3fcd (patch)
treebc22ccd970c1dd003603c77cf59b049a3549d609 /tools/perf/scripts/python/mem-phys-addr.py
parent38b91f810b6873bcdfd6ef441e9a3794a9c69101 (diff)
downloadlinux-ae7d292324b4be60b6d39d2e06bf2a63752f3fcd.tar.xz
iommu/sun50i: Fix return value check in sun50i_iommu_probe()
In case of error, the function devm_platform_ioremap_resource() returns ERR_PTR() not NULL. The NULL test in the return value check must be replaced with IS_ERR(). Fixes: 4100b8c229b3 ("iommu: Add Allwinner H6 IOMMU driver") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20200519091857.134170-1-weiyongjun1@huawei.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions