aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2017-08-08 10:49:58 -0400
committerMauro Carvalho Chehab <[email protected]>2017-08-20 08:20:42 -0400
commit8ac9e914a49ffd5ce5877d332c190f24d13725a9 (patch)
tree16ee6e4ae662cb5c9e114f2e3bb79b8a7649a1a4 /tools/perf/scripts/python/stackcollapse.py
parent68d9c47b1679ec8d55a005d39fc7a958ece82095 (diff)
media: mtk-mdp: use IS_ERR to check return value of of_clk_get
Function of_clk_get() returns an ERR_PTR on failures. In file mtk_mdp_commp.c, its return value is checked against NULL. Such checks cannot prevent from accessing bad memory. This patch replaces the NULL checks with IS_ERR checks. Signed-off-by: Pan Bian <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions