diff options
author | Wei Yongjun <[email protected]> | 2020-05-25 11:16:34 +0200 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2020-05-26 00:02:42 +0200 |
commit | 97a2f40e3801905c7221df8ce2f2231632ce8ce4 (patch) | |
tree | cc4364cb07cad7432a14d84f6c90558736f0ea36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9d281a4f6fd61341da2fd08bf0b9449ed72b40e3 (diff) |
bus: arm-integrator-lm: Fix return value check in integrator_ap_lm_probe()
In case of error, the function of_find_matching_node() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Link: https://lore.kernel.org/r/[email protected]
Fixes: ccea5e8a5918 ("bus: Add driver for Integrator/AP logic modules")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions