aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-04-07 03:11:37 +0000
committerWolfram Sang <wsa@kernel.org>2021-04-08 22:47:48 +0200
commit3ab4ce2daf09b62e38934a7afe3e9fc3f3cbcdec (patch)
tree8ca7d6daa7c12eef6aabc362a2e9ce4c573505e3 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent010e32ab205bfee3a3e860d0366c1516c3e298f9 (diff)
i2c: designware: Fix return value check in navi_amd_register_client()
In case of error, the function i2c_new_client_device() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 17631e8ca2d3 ("i2c: designware: Add driver support for AMD NAVI GPU") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions