mirror of https://gitee.com/openkylin/linux.git
fb21cf4eec
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 |