Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp484774ybe; Wed, 4 Sep 2019 02:59:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfDluYTiaQVwpBllWO69gOZXUPrX0IiFw+N2Ga7Z1Hw3U4HyUdfWd6aspV0kiLtSvnh3ZQ X-Received: by 2002:a63:394:: with SMTP id 142mr34389933pgd.43.1567591173210; Wed, 04 Sep 2019 02:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567591173; cv=none; d=google.com; s=arc-20160816; b=YluaN2s3V5XlqHK1NwvdWlDMesxsXwEiqUm4rRBSal86hcWuPa8++j+hXuKDo9yDNi S6szbmPat63oAyuFlZu4EBL9yOb7Ryg6wcBVGQuUXdBIrMgyTecILRcQnEvHYsY49LOH 6Tr/Z9cfl5ssNaEsKBoGiAkmqpXIY3WJneoDmY1qd1fyS2TjRyQk6ZBdqsMkiso/Eaay +beLVVPRSZQIHEs4Ctk17xrmX9IJCa2oEt1KdrRuzao5zJz5CrVpmGt+DGseGDqboLJk CtM5GmsnJOa/FGUpDgurjScIjWJJS/igPBGdgIDhpenP0ln33X7W16qElsZ+IP2rPdRQ SPkg== 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 :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=lkR2Ca+FaxVlWbFtmtut4HN81Y4TL/IiykdxaBdNlG0=; b=ZtPV0mx4ZhCMkS/ZN9XGj4bzTf9MLappuuxh7Ph+lVsmmyNcFbaaPw20Jbnq93qXuo VovD56M2PMS4aj/czOwMZ5zGBsR829CeMsz8ErAB0GkszvmnNx1W4Ht1hVzqi7K5wUi3 WBIaQkgJIIW3QQ/8maiHX2IC4xWPh6HNS+tI0d/px5kKZJK0YGCUfi2pkgg0H5+XzXX/ QIb4wVNWVxreTUc2sgxH3HleL6q5UouSIr1ica3y173h/FWA5GNkWWbB6eqLrVNLnX9q mu3eHNGKmVIveqqAIWjAkLCwoNpg3xUfAE2U6QNdhL/CJ35mgWzKRXE23maId+o73sOo +wmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Quwnzrze; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d20si347655pll.270.2019.09.04.02.59.17; Wed, 04 Sep 2019 02:59:33 -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=@gmail.com header.s=20161025 header.b=Quwnzrze; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729569AbfIDJ6T (ORCPT + 99 others); Wed, 4 Sep 2019 05:58:19 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:35113 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbfIDJ6T (ORCPT ); Wed, 4 Sep 2019 05:58:19 -0400 Received: by mail-wm1-f66.google.com with SMTP id n10so2929713wmj.0; Wed, 04 Sep 2019 02:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=lkR2Ca+FaxVlWbFtmtut4HN81Y4TL/IiykdxaBdNlG0=; b=QuwnzrzeBewqrpNyHGaKvRTyDkGOzIXzcyfOiCvBiJCs1ugvHmgM1uckgJJDM12US3 GjnAt/uKck5kjK0ndm5gk59EO1raWdStt2ghmrHmfNl8KGxshQfQrZuSyW7Z9wgEyes1 8zB7zMg7KHLwnBQhL/cQmZycl5Y69vQMAfy74wxdfKwBivxYWu0pWnAiHfuuOPbL2PFu 6oVDao+lxcmYwdQ157sx4b/QcjIGOoPvBqAfulfzIi4Akzs+WfxuUzAkunk6dXv8cOeZ KQ0qwPnZF4B0Gsr7NYrcpZpyZjTqDRBk8SR3FZZdO+WyCVzmrv9Nr91hSg5ngSPkkyrF EzPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=lkR2Ca+FaxVlWbFtmtut4HN81Y4TL/IiykdxaBdNlG0=; b=le6hVlxqF+UVh9v1zDtPTCNfAZu1puSV3OsoVUlXAcnrLEuQC5eu8TOFezhzHosYU6 X//xRggVslhxdJpxjDnirXr1BJ1IRIg0bBpRUN+uozzLNG3ByzxxleZvYGyuGu1iFaVq qQWZlx5335gY/PFEDlGnHiqdKKr/SDaAslgCOVSFb/aeXqEfRxpdGhgoADdFmVdavh+J RDwNAr/6jJP9ZEN6iQOWOhnz8K/RZHjHTd8VQV2gf1sIBPyy/zXIP7uf1X4liDUA57dh VglBhy+9CPLlaz+CTFE7XnGI9NZShrHycUj1isS+VoLrJ2fckNUHTaywOJxtD3UbJVL9 +FFA== X-Gm-Message-State: APjAAAW8jxoRND5oj9yzqB34YXjQljjJ8hX+cOriL2ZAbeVLpjahzdav EHDoHAB9Nam0E1oGdue1Xqjn23UP2LKXZNecAVk= X-Received: by 2002:a7b:c8ca:: with SMTP id f10mr3477750wml.36.1567591097217; Wed, 04 Sep 2019 02:58:17 -0700 (PDT) MIME-Version: 1.0 References: <20190831162555.31887-1-yamada.masahiro@socionext.com> <20190831162555.31887-2-yamada.masahiro@socionext.com> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Wed, 4 Sep 2019 11:58:05 +0200 Message-ID: Subject: Re: [PATCH v3 2/2] kbuild: rename KBUILD_ENABLE_EXTRA_GCC_CHECKS to KBUILD_EXTRA_WARN To: Nick Desaulniers Cc: Masahiro Yamada , Linux Kbuild mailing list , Nathan Chancellor , Jonathan Corbet , Michal Marek , clang-built-linux , linux-doc@vger.kernel.org, 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 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' - Sedat -