aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-03-08 12:30:31 +0000
committerDaniel Lezcano <[email protected]>2021-04-08 13:24:15 +0200
commit2a65f7e2772613debd03fa2492e76a635aa04545 (patch)
tree1604e0c4df7ffe78b932b6ff89ebb862c79d608e /tools/perf/scripts/python/export-to-postgresql.py
parentac4daf737674b4d29e19b7c300caff3bcf7160d8 (diff)
clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe()
In case of error, the function device_node_to_regmap() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: ca7b72b5a5f2 ("clocksource: Add driver for the Ingenic JZ47xx OST") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions