Re: [PATCH] media: i2c: fix odd_ptr_err.cocci warnings

2021-02-01 Thread Sakari Ailus
On Mon, Jan 18, 2021 at 02:55:07PM +0100, Paul Kocialkowski wrote: > Hi, > > On Sat 16 Jan 21, 21:11, Julia Lawall wrote: > > From: kernel test robot > > > > PTR_ERR should access the value just tested by IS_ERR > > Good catch! > > Reviewed-by: Paul Kocialkowski Thanks, Julia and Paul. A pa

Re: [PATCH] media: i2c: fix odd_ptr_err.cocci warnings

2021-01-18 Thread Paul Kocialkowski
Hi, On Sat 16 Jan 21, 21:11, Julia Lawall wrote: > From: kernel test robot > > PTR_ERR should access the value just tested by IS_ERR Good catch! Reviewed-by: Paul Kocialkowski Cheers, Paul > Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci > > Fixes: 11c0d8fdccc5 ("media: i2c: Add

[PATCH] media: i2c: fix odd_ptr_err.cocci warnings

2021-01-16 Thread Julia Lawall
From: kernel test robot PTR_ERR should access the value just tested by IS_ERR Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci Fixes: 11c0d8fdccc5 ("media: i2c: Add support for the OV8865 image sensor") CC: Paul Kocialkowski Reported-by: kernel test robot Signed-off-by: kernel test ro