aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorQiheng Lin <[email protected]>2022-12-02 11:18:36 +0100
committerMauro Carvalho Chehab <[email protected]>2023-02-06 08:58:43 +0100
commit1963689bed4d500236938d90c91cdd5e63c1eb28 (patch)
treec4ef67d3a0460d8f34b525afa14dff758cee2b73 /tools/perf/scripts/python/bin/stackcollapse-record
parent01cb370ff6c5abf2d64985832ff165f353ac04bb (diff)
media: platform: mtk-mdp3: Fix return value check in mdp_probe()
In case of error, the function mtk_mutex_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). And also fix the err_free_mutex case. Fixes: 61890ccaefaf ("media: platform: mtk-mdp3: add MediaTek MDP3 driver") Signed-off-by: Qiheng Lin <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions