diff options
| author | Fengguang Wu <[email protected]> | 2018-04-11 17:14:39 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-05-09 15:58:30 -0400 |
| commit | fb21cf4eecbd448dd6d9b91274589562467a1b41 (patch) | |
| tree | c1adbabc5ca8a49faffb8cae370ba2193ceda7d1 /tools/perf/scripts/python/bin | |
| parent | ee7582431f49b6fbdd6f9307cf20ddddf42ceeaa (diff) | |
media: vcodec: fix ptr_ret.cocci warnings
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1087:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Fixes: 648a9576932a ("media: vcodec: fix error return value from mtk_jpeg_clk_init()")
CC: Ryder Lee <[email protected]>
Signed-off-by: Fengguang Wu <[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')
0 files changed, 0 insertions, 0 deletions