Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2888280imm; Fri, 19 Oct 2018 01:10:13 -0700 (PDT) X-Google-Smtp-Source: ACcGV63eVvTTvQQZ4O6MUMMJxOH3br69AGsF2gX+fxGWlQgNYxnQG3a/7/PWkd3VQuPIQoWJRend X-Received: by 2002:a17:902:aa8f:: with SMTP id d15-v6mr32971326plr.242.1539936613496; Fri, 19 Oct 2018 01:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539936613; cv=none; d=google.com; s=arc-20160816; b=Z8VqBLWdaYDK9lPmpUKGs8XvLUbAuzsWD0Jk9sI7DVP79OieRnyJCriKpbSfP0ZjL5 x8lgDvtOMxaNHSIPgr0njFdsPo5/HHBwH08L91MjNdnZqxUBjNqnJ1VMzbpbe5M1eS37 VXkSwWlsBHdItRlfpHQfqlToahcGN9pBtkmqBzS5VJ72Wi98sDUCGgIUc29HmPx4ufFS yZEC9Ho7joSrLJph6Ty/Sm4KW670fFrloFFLSyYLr0ip/x+SK9Y2hNsrxGyOsPByEl0u kixbIQqnM5Q5ijqqiUPRk00rui9wydcEjvDw2tB374Kh8fvoCEGEW0C+wP45MCx1Kjym xLBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=hDjUk3sGMvA3eSFNzM3qjnzL6mZe3TyVUJT9FIjYhCA=; b=KvG88PP5ThQIB5xxNxBMdXE9hbdaegCIGhP4XzYRsf++apfqvDH9CYfsqm7HSUpqG8 0C+fg28W4Ib5UVDqP8DZZoEtptj7HV+vnQCIBNVDWtPKLhaEaOtLsUE1V4Ua9DBbqney J3sxZYX2FWplUhRqe6u1YlYUEQ3ZbzteHgR0KNvmP33Dsdsu+IJaP1rEZu7mglyQuZPU 5IZ+nufoIlF+y8i/fE22S7ujJylKyWxGQ2JsQHjVcRehw1WTmptH9XwUikCObT2r8rS5 22RRoKcznkSOg7FFsfL+2xI8CoiA9HLnyBbMo5IZsWDJw7bqlD/eGaEep9jX3aqvsxQ3 VJ0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y76-v6si25076749pfd.254.2018.10.19.01.09.57; Fri, 19 Oct 2018 01:10:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727116AbeJSQOT (ORCPT + 99 others); Fri, 19 Oct 2018 12:14:19 -0400 Received: from mail.skyhub.de ([5.9.137.197]:59606 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726609AbeJSQOT (ORCPT ); Fri, 19 Oct 2018 12:14:19 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id J9ggE37UNLuX; Fri, 19 Oct 2018 10:09:01 +0200 (CEST) Received: from zn.tnic (p200300EC2BCBB600329C23FFFEA6A903.dip0.t-ipconnect.de [IPv6:2003:ec:2bcb:b600:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 3D11B1EC09F7; Fri, 19 Oct 2018 10:09:01 +0200 (CEST) Date: Fri, 19 Oct 2018 10:08:53 +0200 From: Borislav Petkov To: Masahiro Yamada Cc: Leonardo =?utf-8?B?QnLDoXM=?= , lkcamp@lists.libreplanetbr.org, Matthew Wilcox , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , X86 ML , Michal Marek , Linux Kernel Mailing List , Linux Kbuild mailing list Subject: Re: [PATCH 1/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS Message-ID: <20181019080853.GA28610@zn.tnic> References: <20181017000809.GA21292@WindFlash> <20181017081115.GA22535@zn.tnic> <20181017083126.GB22535@zn.tnic> <20181018091606.GA20831@zn.tnic> <20181018165057.GH20831@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 19, 2018 at 11:41:31AM +0900, Masahiro Yamada wrote: > Adding -Wshadow to KBUILD_HOSTCFLAGS emits another warning in Kconfig. > Of course, it is easy to fix. > But, I just started to think this option is a kind of harsh... What is more, if we added -Wshadow to KBUILD_HOSTCFLAGS, then there'll be a difference in build options between host and target kernel in that the host kernel build will be stricter wrt shadowing. Thus, it is a maintainer decision, IMHO. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.