aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-core.c
diff options
context:
space:
mode:
authorNiklas Söderlund <[email protected]>2019-05-16 00:35:38 +0000
committerMauro Carvalho Chehab <[email protected]>2019-05-28 16:50:03 +0000
commit0c310868826eb10b724a21dcd05e19768b6fc3a8 (patch)
tree57838b95d2577444fd6958e347a821a593a60b97 /drivers/media/platform/vimc/vimc-core.c
parentmedia: vim2m: fix two double-free issues (diff)
downloadkernel-0c310868826eb10b724a21dcd05e19768b6fc3a8.tar.gz
kernel-0c310868826eb10b724a21dcd05e19768b6fc3a8.zip
media: rcar-csi2: Fix coccinelle warning for PTR_ERR_OR_ZERO()
Use the PTR_ERR_OR_ZERO() macro instead of construct: if (IS_ERR(foo)) return PTR_ERR(foo); return 0; Fixes: 3ae854cafd76 ("rcar-csi2: Use standby mode instead of resetting") Reported-by: kbuild test robot <[email protected]> Signed-off-by: Niklas Söderlund <[email protected]> Reviewed-by: Ulrich Hecht <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions