Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1256FC433F5 for ; Thu, 11 Nov 2021 19:37:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E84E3611C9 for ; Thu, 11 Nov 2021 19:37:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233940AbhKKTkj (ORCPT ); Thu, 11 Nov 2021 14:40:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:46378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbhKKTki (ORCPT ); Thu, 11 Nov 2021 14:40:38 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2DC4761054; Thu, 11 Nov 2021 19:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636659469; bh=kvLxjhsqWWrkwcWX08LE4zmNFTBTSqdsykYTe1y4XWI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rHYM90kd9mjFoZnE+h68f+ORQaSi6aNKazXyrzZZiuDt3OTnrDOuVrwQuSg7hlal3 twy9VAqF95Rl9qAea2JHeQlP283Z99jORszKbsr4gdAsQttr4VYWIQ5Y/E4U/0PuGE eWmhe03RnwYe87rU7ZEmzOD+BynufoKHN8xS2Ba8TiNIIy0At9V/h98m+m+Qiy7DOI qoxrAqLdsWUL8SVWIth8LAxk8F/Lz/apsKTyfgtnmExHyjhcnSbQ7ai0t9OymhzAAL 4THo2FbJ5NAYCaK35qRggSE+iTI5HJEgAxVwBAtv7YnGe0UQn8zSci3q/vV074lrem blztWnvrDQFFQ== Date: Thu, 11 Nov 2021 19:37:42 +0000 From: Mauro Carvalho Chehab To: Andy Shevchenko Cc: Tsuchiya Yuto , Sakari Ailus , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Nable , Fabio Aiuto , "andrey.i.trufanov" , Patrik Gfeller , Hans de Goede Subject: Re: [PATCH 04/17] media: atomisp: pci: do not use err var when checking port validity for ISP2400 Message-ID: <20211111193742.174f0b26@sal.lan> In-Reply-To: References: <20211017161958.44351-1-kitakar@gmail.com> <20211017161958.44351-5-kitakar@gmail.com> <20211026092637.196447aa@sal.lan> <1a295721fd1f1e512cd54a659a250aef162bfb6f.camel@gmail.com> <20211028123944.66c212c1@sal.lan> <20211101141058.36ea2c8e@sal.lan> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, 11 Nov 2021 18:09:49 +0200 Andy Shevchenko escreveu: > On Thu, Nov 11, 2021 at 11:34:23PM +0900, Tsuchiya Yuto wrote: > > On Mon, 2021-11-01 at 14:10 +0000, Mauro Carvalho Chehab wrote: > > > Em Mon, 01 Nov 2021 22:38:55 +0900 > > > Tsuchiya Yuto escreveu: > > ... > > > The full output of the make error is here: > > > > ("NOTE: issue: some undeclared errors") > > https://github.com/kitakar5525/linux-kernel/commit/a932d16681f941161385659b9d0316a3a4975e86 > > I just realize that we may do at some point > > cflags-y += -Werror > > to avoid changes that breaks build (with warnings). No need. Upstream already added Werror. It is just a matter of adding: CONFIG_WERROR=y to .config. > And also I would suggest > to run build with `make W=1 C=1 CF=-D__CHECK_ENDIAN__ ...` Yeah, that's good. On media, we also require no (unjustified) sparse and smatch warnings. Regards, Mauro