mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 20:55:22 +07:00
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 |