mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-22 14:09:27 +00: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 | ||