Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp741581ybe; Wed, 4 Sep 2019 07:07:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyL1X6PBaKqqvREqGekzg65NASSl7E1VQasz464a6AuMNfzGQmNT4ab/WLFy1KpOZ51eq9L X-Received: by 2002:a17:902:b617:: with SMTP id b23mr1703484pls.184.1567606066364; Wed, 04 Sep 2019 07:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567606066; cv=none; d=google.com; s=arc-20160816; b=QmeW4SkotScUVGCc6meASj7wq6CvZKBAUOCdh4W8csrWFyJcAncLA96jfq1afel75j GYuh8maq8DPKCvasb2RGdhDCu7d7I4o6t17ZxQX1/KMPf4W9S1XmY/ICOxpRbO7NlXXM ByRDLM0ytuDOuz8Mvz4wiTs8+79i6nSS0SYP2VHtidRtbJRVKx/b9Bu8pce3KCmme+7i ovaV24gkBtOr9zFDmSN+H8tQ3dT3F56b/yK9Kn+1luC/HRxlxG1FRehiwZyILWu+2Lo8 YXQWSOCxOECg3EoJrPuv04DJGu0fQPuumWY4N0ynFvME328xgMKIIo4CZUvtocaGc+J6 XyPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=EIcW7nuR2BwIgm+8fvmv+3/OtKATqWDtbykL5X1yVEI=; b=Wgmcm5KZ5JAxwTLUmUrV0vkBnpprKHO5VKITf/vem7mWl2o/PtgBHWsAcUyL35gVlP OMli2opJY7E8Gubwj2FApHp9m8A/5eZX13rEXQL6XoEley/+lAIMt4OIKvPecXAVNerM /JU48m0Jnh3e39F1tKg4BvDGrAKeIbG1P1wpw7h6deZM+nvQmQ3ogU5fvn/xCfHPq6bu tACiZjUYwMy/Hx/je9DeycTlW6NMdqTk0igAGrvBZ0U1Vzs8fkSKVXHcD/hX+GM+5OtA e0A7SXfVD3ufTdFDryQjkjBPjlbhhzMH9OhwH0aAcJHzCrUYWvURQMmV1OZaHezGQfPx Y4mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Ctf67tOB; 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 d13si18089527pgu.268.2019.09.04.07.07.28; Wed, 04 Sep 2019 07:07:46 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Ctf67tOB; 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 S1730681AbfIDOGS (ORCPT + 99 others); Wed, 4 Sep 2019 10:06:18 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:60220 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730462AbfIDOGS (ORCPT ); Wed, 4 Sep 2019 10:06:18 -0400 Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com [209.85.222.48]) (authenticated) by conssluserg-03.nifty.com with ESMTP id x84E65FQ012074; Wed, 4 Sep 2019 23:06:06 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com x84E65FQ012074 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1567605966; bh=EIcW7nuR2BwIgm+8fvmv+3/OtKATqWDtbykL5X1yVEI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Ctf67tOBMnzuIGRVtw7qPYg87jOjmZTf9vdUjarlrSrcrPC2pYi/twYuqrhQBYtgP pt0NB0gigDE2jQbTGoQHX4/5V3ELKocKEC+gvE/K2fbUTsmj35x02tpHmTCVTKAePi 8Zc+S9nQtNbWlsfRq/huhIh/9ScT4+96hDLOuAYbv8h/jh/0UXUbfhTweA5uTA0EFj pPYOEQIM8aF6MaV8EdYmfT9Xs5hXT3n1M+LO/cJ958Ga2INt0bxig9/uwJhQVRVcI2 knVovMKLNQL7J21XGPRIMwV/BN6WufKxGQelj3/blPczhZMs7jxcYDmDtJRTi4ouhZ Zhn0s5/R3subg== X-Nifty-SrcIP: [209.85.222.48] Received: by mail-ua1-f48.google.com with SMTP id h23so2703851uao.10; Wed, 04 Sep 2019 07:06:06 -0700 (PDT) X-Gm-Message-State: APjAAAWphMMClKxjHmWFpQ+IBr5I4tc04w0F4qWaOsKyjEyr90knVDQI qeonlTO9FZRjNz92EQmAz5yvhk/oXVwrn8s1GbU= X-Received: by 2002:ab0:32d8:: with SMTP id f24mr19579922uao.121.1567605964838; Wed, 04 Sep 2019 07:06:04 -0700 (PDT) MIME-Version: 1.0 References: <20190831162555.31887-1-yamada.masahiro@socionext.com> <20190831162555.31887-2-yamada.masahiro@socionext.com> In-Reply-To: From: Masahiro Yamada Date: Wed, 4 Sep 2019 23:05:28 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/2] kbuild: rename KBUILD_ENABLE_EXTRA_GCC_CHECKS to KBUILD_EXTRA_WARN To: Sedat Dilek Cc: Nick Desaulniers , Linux Kbuild mailing list , Nathan Chancellor , Jonathan Corbet , Michal Marek , clang-built-linux , "open list:DOCUMENTATION" , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 4, 2019 at 6:58 PM Sedat Dilek wrote: > > On Wed, Sep 4, 2019 at 10:07 AM Sedat Dilek wrote: > > > > On Wed, Sep 4, 2019 at 8:58 AM Sedat Dilek wrote: > > > > > > On Tue, Sep 3, 2019 at 11:50 PM Nick Desaulniers > > > wrote: > > > > > > > > On Sat, Aug 31, 2019 at 9:26 AM Masahiro Yamada > > > > wrote: > > > > > > > > > > KBUILD_ENABLE_EXTRA_GCC_CHECKS started as a switch to add extra warning > > > > > options for GCC, but now it is a historical misnomer since we use it > > > > > also for Clang, DTC, and even kernel-doc. > > > > > > > > Thanks for the patch! > > > > Reviewed-by: Nick Desaulniers > > > > > > > > > > Thanks for the patch. > > > I like the backward compatibility and am OK with pointing to 'make > > > --help' for the documentation part (KISS - Keep It Simple and > > > Short/Stupid). > > > > > > Reviewed-by: Sedat Dilek > > > > If you will do a next version... > > > > - @echo ' make W=n [targets] Enable extra gcc checks, n=1,2,3 where' > > + @echo ' make W=n [targets] Enable extra checks, n=1,2,3 where' > > > > ...clarify on extra checks for compiler... > > > > + @echo ' make W=n [targets] Enable extra *compiler* checks, n=1,2,3 where' > > > > +KBUILD_EXTRA_WARN > +----------------- > +Specify the extra build checks. The same value can be assigned by passing > +W=... from the command line. > > For consistency reasons might be better: > > - @echo ' make W=n [targets] Enable extra gcc checks, n=1,2,3 where' > + @echo ' make W=n [targets] Enable extra build checks, n=1,2,3 where' > OK, I will squash this. Thanks. -- Best Regards Masahiro Yamada