aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2020-06-18 13:38:37 +0000
committerMartin K. Petersen <[email protected]>2020-06-24 00:14:55 -0400
commitb2bc2200e89bf6be01da8a9972fee800891725c0 (patch)
tree6cf33343210d792cbaf750f29ae3119ba9e42941 /tools/perf/scripts/python/event_analyzing_sample.py
parentd31503fe395d1d7e17b85eb7b291cc1a4bff2671 (diff)
scsi: ufs: ufs-exynos: Fix return value check in exynos_ufs_init()
In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Link: https://lore.kernel.org/r/[email protected] Fixes: 55f4b1f73631 ("scsi: ufs: ufs-exynos: Add UFS host support for Exynos SoCs") Reported-by: Hulk Robot <[email protected]> Acked-by: Alim Akhtar <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions