mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| mtk_jpeg_core.c | ||
| mtk_jpeg_core.h | ||
| mtk_jpeg_hw.c | ||
| mtk_jpeg_hw.h | ||
| mtk_jpeg_parse.c | ||
| mtk_jpeg_parse.h | ||
| mtk_jpeg_reg.h | ||