Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4763108ima; Tue, 5 Feb 2019 00:33:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IZK7t7dYb6I62U1V+3Ch1Jy7Bjqw/DN/U7568Qr38UVKFgJJwzujGX7NZpDK44Dlu2XxhOJ X-Received: by 2002:a17:902:20c6:: with SMTP id v6mr3947654plg.156.1549355628138; Tue, 05 Feb 2019 00:33:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549355628; cv=none; d=google.com; s=arc-20160816; b=QweueXDX29j10b3HnNnNYjufi4ff26szBp+IbtB4Vnx1fm9sAnvJnSdjqpxFvMxGkJ NVwKFbbO15d/J0qW+jNd9fuNnf2ypOol9N3IbAyc4dd8tM5+OrmwBetV79DBnaP4aqGd +sPPbluzVslINX9MNDw6gqnX5ZDlbZ6cGctsPIU8AudsqLXUqkmt8S19lVFfl31a5Zho 47O/QKFF4PC14vblt7+KEgHrs2EKBmwB86MXURbRqnylR+pR7JXy1Xz34iQIV2Y53X8p Lp2ZAM57h2i7kon8HthKO5ViVjaaMY9UI6NmgWApTpICgn6CR6gGXcJyMjsA9Ivqk9Bz U56w== 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=KmjzBrXxR3zNlk76HvmjQj0YEZz9pYOyHhasIBSXfsw=; b=m688r2o19q3wpeUEKpjdquadoEOgKkmQMiay6RVutuejm/9Bt1stYfol0dPwFOSSBs pjYuOz88y3wEWaL999iBEzJNPHmXelpdbw2inreB1zlL/TFpghptfwhi3WLMwSknoO1/ HVDLV9t+mOANOx/3IU65hZNh+4bixT79L4IhAfy5y5D1KL2Dd9j//pMoSSS0/3FYTZ71 /1oTB0EQ6sdF3fGjJaujMq1ZoY5hj3XUNQFMISzPIRbBxAbQgztTkKlJKFsFVgIzQXj5 ydDCYUm4cFhsCo1OqYsFrB++zamsSrYsjGSmW2hop8l4w7ufi90GuT/BuEUnPN1E82C8 iiAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=j4V9yFbj; 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 d9si2416974pgv.123.2019.02.05.00.33.32; Tue, 05 Feb 2019 00:33:48 -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=j4V9yFbj; 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 S1727797AbfBEI0s (ORCPT + 99 others); Tue, 5 Feb 2019 03:26:48 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:25446 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbfBEI0s (ORCPT ); Tue, 5 Feb 2019 03:26:48 -0500 Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x158Qg6P006102; Tue, 5 Feb 2019 17:26:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x158Qg6P006102 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1549355203; bh=KmjzBrXxR3zNlk76HvmjQj0YEZz9pYOyHhasIBSXfsw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=j4V9yFbjgX0T5ECX03v2YPmJgVJPRps/CAeKFyE64OBFbl0cIOipB2cIRaIoLjM1i LpwO87ElcpYZIhQeK4yJ1v1kzuUEJYuduup1c4dgaskDML/+tRvbXwozbUgt07bj6e CGAxvrZa/5vbV4F+Rf5VZqiVpmeEXmRLlVZdPtO4ICgdT9IODFmADd+aJ/gFgM/MVR cWhX3k+i6ofjwXzBCD6Fl+LfcGaQVTddBsEN3XyCg/zz9HOrH6SfvAMtxHbIxAo9dy O2afLJNaWGsU5NfQiatxl6EaRA3wstUMCyEXZqhEh43QWE2TXO3bBiU8M9hIgBE8hP xxt1Hf95vqIzw== X-Nifty-SrcIP: [209.85.221.176] Received: by mail-vk1-f176.google.com with SMTP id o130so592279vke.10; Tue, 05 Feb 2019 00:26:42 -0800 (PST) X-Gm-Message-State: AHQUAub6NA/C5A1OxgCA/0u84zXhUxaq8tmA5MGLZa6T4+1K4m58V2+C HDyVA00H7GG99Q2wbsNRPo78RqvAhin60qy3RJk= X-Received: by 2002:a1f:9350:: with SMTP id v77mr1431766vkd.64.1549355201737; Tue, 05 Feb 2019 00:26:41 -0800 (PST) MIME-Version: 1.0 References: <20190201210853.244043-1-jflat@chromium.org> In-Reply-To: <20190201210853.244043-1-jflat@chromium.org> From: Masahiro Yamada Date: Tue, 5 Feb 2019 17:26:05 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild, LLVMLinux: Don't suppress format warnings To: jflat@chromium.org Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , Michal Marek 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 Sat, Feb 2, 2019 at 6:10 AM wrote: > > From: Jon Flatley > > gcc produces format warnings that clang suppresses. To keep behavior > consistent between gcc and clang, don't suppress format warnings in > clang. > > Signed-off-by: Jon Flatley > --- Applied to linux-kbuild. Thanks. > scripts/Makefile.extrawarn | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn > index 768306add591..94daf4e1fc73 100644 > --- a/scripts/Makefile.extrawarn > +++ b/scripts/Makefile.extrawarn > @@ -68,7 +68,6 @@ else > ifdef CONFIG_CC_IS_CLANG > KBUILD_CFLAGS += $(call cc-disable-warning, initializer-overrides) > KBUILD_CFLAGS += $(call cc-disable-warning, unused-value) > -KBUILD_CFLAGS += $(call cc-disable-warning, format) > KBUILD_CFLAGS += $(call cc-disable-warning, sign-compare) > KBUILD_CFLAGS += $(call cc-disable-warning, format-zero-length) > KBUILD_CFLAGS += $(call cc-disable-warning, uninitialized) > -- > 2.20.1.611.gfbb209baf1-goog > -- Best Regards Masahiro Yamada