aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2020-05-10 18:30:37 +0300
committerGeorgi Djakov <[email protected]>2020-05-10 18:30:37 +0300
commit360a10285e7e2722f6869f5dc8e81214a72b57f6 (patch)
tree41c05cf44cbd4d4854395904e084bb4aedd5f987 /tools/perf/scripts/python
parent4b54bf4763e3725dcceaac379df4ef78df3b9fcd (diff)
interconnect: imx: Fix return value check in imx_icc_node_init_qos()
In case of error, the function of_parse_phandle() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: f0d8048525d7 ("interconnect: Add imx core driver") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Dong Aisheng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions