summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorQiheng Lin <linqiheng@huawei.com>2022-12-02 11:18:36 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-02-06 08:58:43 +0100
commit1963689bed4d500236938d90c91cdd5e63c1eb28 (patch)
treec4ef67d3a0460d8f34b525afa14dff758cee2b73 /tools/perf/scripts/python/exported-sql-viewer.py
parent01cb370ff6c5abf2d64985832ff165f353ac04bb (diff)
downloadlinux-1963689bed4d500236938d90c91cdd5e63c1eb28.tar.gz
linux-1963689bed4d500236938d90c91cdd5e63c1eb28.zip
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 <linqiheng@huawei.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions