From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4BFBC3FC2 for ; Sat, 21 Aug 2021 06:36:30 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 6EC1D60184; Sat, 21 Aug 2021 06:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629527789; bh=cM9yxJXxvjU48PWWvZH6/CR8A1K1QGlNiCoRfvilTqs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=r2TFh8J4572fOe52104KRJ+orFqNSTjIAPxxayxqhsR/JJyXOIaw5dsa8gTwe4gbC 2oVL4OCjwhHjweSuVT42soxlKRPNL5dVouj+tsBAZnYBPU5cdfBeWeNBcNCzQtC3uH ra44Gbe5Jewm3Z7F/bp5j5eBrtFC9AN8CaX9FDgMCs+Dck0Uwfqou2KCvYOyWonCaY W5stSG+PkF2yohx9hBJSqQR2ZYCvcBtk2uByaZZZQaQIZoSV0YcwdcJh9ehonxigjZ 3txGsej37nu2ohjQUQQLSATqPAYvnD2/XHScobvFyxDueQeVFIUeAYB3sBqToNaXmG vJPg/VoLioEqg== Date: Sat, 21 Aug 2021 08:36:25 +0200 From: Mauro Carvalho Chehab To: Kees Cook Cc: Greg Kroah-Hartman , Arnd Bergmann , Andy Shevchenko , Pavel Skripkin , Arnd Bergmann , Sakari Ailus , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: atomisp: restore missing 'return' statement Message-ID: <20210821083611.3be2b5d7@coco.lan> In-Reply-To: <202108202251.F3033355C@keescook> References: <20210802143820.1150099-1-arnd@kernel.org> <202108130937.7848F6B318@keescook> <202108202251.F3033355C@keescook> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Em Fri, 20 Aug 2021 22:53:37 -0700 Kees Cook escreveu: > On Thu, Aug 19, 2021 at 08:24:11PM +0300, Andy Shevchenko wrote: > > On Fri, Aug 13, 2021 at 7:39 PM Kees Cook wrote: > > > > > > On Mon, Aug 02, 2021 at 04:38:14PM +0200, Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > > > > > The input_system_configure_channel_sensor() function lost its final > > > > return code in a previous patch: > > > > > > > > drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c: In function 'input_system_configure_channel_sensor': > > > > drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c:1649:1: error: control reaches end of non-void function [-Werror=return-type] > > > > > > > > Restore what was there originally. > > > > > > > > Fixes: 728a5c64ae5f ("media: atomisp: remove dublicate code") > > > > Signed-off-by: Arnd Bergmann > > > > > > I hit this too. Thanks! > > > > > > Reviewed-by: Kees Cook > > > > Me too, > > Tested-by: Andy Shevchenko > > Reviewed-by: Andy Shevchenko > > Mauro, are you able to get this into your tree, please? Or Greg? It's in > staging. :) This is breaking the build. Didn't notice it was breaking the build for you. Patch applied, thanks! Thanks, Mauro