Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4345087imb; Wed, 6 Mar 2019 11:04:00 -0800 (PST) X-Google-Smtp-Source: APXvYqwlnR8vsQvH5KPVHDd83gFRSCQ+LDWb32kxr7C/cRaUXYxD9yKmuAckPkRSiB39Bx988A0E X-Received: by 2002:a17:902:2848:: with SMTP id e66mr8537819plb.181.1551899040519; Wed, 06 Mar 2019 11:04:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551899040; cv=none; d=google.com; s=arc-20160816; b=xk96jCxI9vhk9ks5TYlJoPEvIQLR0zbwVoeeEhxNgYzFG72z/tbl8oFrXwFbmnKJyu MZxS8QHqwP/acuZP6e9+tbUWPBhT8mXoDm60Yaxv1FE6syEADsITtKiEGw4dtf5rP1hg PCueaCnrYQ0POyfjpwppELnIsnfTSLRZmPE4M6rXRZGAfuDgXg3EiV18eV2VU8tb5gM3 tRabgdrmowVcMwVwXNrxhEY7DEU0cxLwpLDKjEgMU2PEUevWce8V3ntg80nPr6C6mvjS b2vJLoq2Lw9Vxp9n+ofUd2DDssFcgaGbqIifnC4k6wL2VR9UwKLZ96S8qWLwqSe7fe3N VTyg== 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=ZHtvOZZeNFMSU/z4AjSUUdYaQwQC9fBxIznHwNNaLKk=; b=hGlWoVzHyRZfRfgaPrNVujFn2nv8ZBbg17EkU8QDfbBC0h62uHdTnFIGaGwL9Dn2oa jV3d8qPOxUFxHAt5cGgDHEYMgxO+VxQ1wSR4pmwofPfwaaL/jefzZ3255h1ufOjNF48Z vHCRlaer+cBtzcxH5gjqncydVX4hpIjUV5Yk/PydFFawEHkT1DyCUXrUN+meUcjETUGm qnSp+xXPnp9+h7FmOJaintZ0JpRDAWEjsLt+po/hTof7YJcZMO7OmCWltP8Dxxg6NYzP HDnLOIvU23AsmKm48ch1Uu9mPkXv/GiU5Rw5hxPBX1uQVzVw/3GMRplEGjq1GLwd5tc6 q4FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=HgcQru7Q; 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 33si2189518plk.213.2019.03.06.11.03.45; Wed, 06 Mar 2019 11:04:00 -0800 (PST) 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=HgcQru7Q; 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 S1727406AbfCFQDB (ORCPT + 99 others); Wed, 6 Mar 2019 11:03:01 -0500 Received: from conssluserg-04.nifty.com ([210.131.2.83]:53931 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726945AbfCFQDA (ORCPT ); Wed, 6 Mar 2019 11:03:00 -0500 Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) (authenticated) by conssluserg-04.nifty.com with ESMTP id x26G2Zvf025270; Thu, 7 Mar 2019 01:02:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com x26G2Zvf025270 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1551888156; bh=ZHtvOZZeNFMSU/z4AjSUUdYaQwQC9fBxIznHwNNaLKk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HgcQru7QmU6UzKYttmYn07io/J1mcEqqZvfbWvklkuBF5cLcW8+zTDpYAoCxQyRPS CqaqFpKIPUFs4jSLf+is7K/R7+rx869H4RRqoQYxw/f+cbDbzWqoR7earDJfe6CZj1 aM/POY6olFkqtkeEpNJAeTppoT8v1VgPl5Iv8/Jz3FR1o6b3M0Ok7+5g8UJRqXUwRS LWV3pEv1gBgRWtuDZGG/+oim+AyX4e5nrDQmi7dg6aWFIjVqPja5y5ruTK3XPqu+93 bQmYEdB0tU8AisWK8n1ZWhA5bY6SmYiqJGzD5CjZfyz6y12N2Idye9SgklxSVff0r/ nYeoS7Sl07ZaQ== X-Nifty-SrcIP: [209.85.222.46] Received: by mail-ua1-f46.google.com with SMTP id s15so9117828uap.6; Wed, 06 Mar 2019 08:02:36 -0800 (PST) X-Gm-Message-State: APjAAAU0WUUyld+k0J/5GdfZGvQmR3FlOKCnEcw2BqekoYFXoaEEbFa5 yZRYvd6CfKzLXqvVtQbNnvBEjEyHhF7WWiU+Jnk= X-Received: by 2002:ab0:648c:: with SMTP id p12mr4313757uam.93.1551888154846; Wed, 06 Mar 2019 08:02:34 -0800 (PST) MIME-Version: 1.0 References: <20190304125520.17794-1-luc.vanoostenryck@gmail.com> In-Reply-To: <20190304125520.17794-1-luc.vanoostenryck@gmail.com> From: Masahiro Yamada Date: Thu, 7 Mar 2019 01:01:58 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: use -Werror=implicit-... instead of -Werror-implicit-... To: Luc Van Oostenryck Cc: Linux Kbuild mailing list , Linux Kernel Mailing List 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 Mon, Mar 4, 2019 at 9:55 PM Luc Van Oostenryck wrote: > > The flag '-Werror-implicit-function-declaration', present in GCC 2.95, > stopped to be documented in GCC 4.3, replaced by the more generic > '-Werror=...' form. > > So, use the equivalent '-Werror=implicit-function-declaration' instead. > > Signed-off-by: Luc Van Oostenryck > --- Applied to linux-kbuild. Thanks. > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index d5713e7b1e50..253e5ede92e7 100644 > --- a/Makefile > +++ b/Makefile > @@ -429,7 +429,7 @@ LINUXINCLUDE := \ > KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE > KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ > -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \ > - -Werror-implicit-function-declaration -Werror=implicit-int \ > + -Werror=implicit-function-declaration -Werror=implicit-int \ > -Wno-format-security \ > -std=gnu89 > KBUILD_CPPFLAGS := -D__KERNEL__ > -- > 2.21.0 > -- Best Regards Masahiro Yamada