From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Date: Mon, 07 Dec 2020 15:56:15 +0000 Subject: Re: [PATCH] media: i2c: ov02a10: fix an uninitialized return Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org +Cc: some people who involved in different kernel source checkers On Mon, Dec 7, 2020 at 3:19 PM Sakari Ailus wrote: > On Mon, Dec 07, 2020 at 04:00:29PM +0300, Dan Carpenter wrote: > > The "ret" variable isn't set on the no-op path where we are setting to > > on/off and it's in the on or off state already. > > > > Fixes: 91807efbe8ec ("media: i2c: add OV02A10 image sensor driver") > > Signed-off-by: Dan Carpenter > > Thanks for the patch. > > This issue has been fixed by another patch here: > > This has been reported by 3 or 4 different people. I'm wondering if it's possible to introduce a common database to somehow reduce the amount of patches against the same findings. -- With Best Regards, Andy Shevchenko