Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4951534rwb; Wed, 17 Aug 2022 08:33:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR4uEW2fh4u0t67ldWAPKrS2mW7x9eI5q1ubDJ6JoYqnXBRsPOEAbLBydX2O53ZFSTllie56 X-Received: by 2002:a17:903:28c:b0:16d:cf30:3b71 with SMTP id j12-20020a170903028c00b0016dcf303b71mr26956956plr.165.1660750439291; Wed, 17 Aug 2022 08:33:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660750439; cv=none; d=google.com; s=arc-20160816; b=kVPbWp1UiorZoDfrhPkGec1NIs8J2w3gjsrTALvSuuBTXN9Yg+3pVZGw/WDbluzcaR P5bEKeolbgXHClSA4uCFrLCFrUdknclVP/zXmgKoooRxZf2ZHLtTtrixDk0l+HBQn6uq rMQaOBw6BHGL0sgeW6X5ckLD5n0tqFbzB2QK3qrN025vBnE0bI+JYO6iDTAQFgIRcF5E BuGb1F//MqiVuxT4ft/IfkbswRmqXu+tyjKAGTY6K38TVO441AnpPR5D2iOu8dbmdbRP na8BkRu/bzPATP4qDo2inpjAWEpwCpj7xx1cH7yApD1wzYvj4+YlSH37zee4zK8kld4F 1QVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=uSGHNJC19uOo+o4MTqX8ubojhADfhgOtyxA3oBtx0Vw=; b=zSIRNjaS0X7N/si6TOMYxG8eAquYgKYb8cLO2PmZgV84tHEWbDnnf2DKetZ/IsDgPe R1x1dsiUJMsBx3fzmkydCJ14TfkeOJubRwdfn+FkIjhyN1ixdnfjPMjbYP6mDs3TpemS FWBcwkMYID2ATLzwtZ+onYpzygmt2w5eBhyEibFCFB9KoZAyej0Hq/OTjQ9C9G1J0WTx YPzjW7YHxSy91qJXQo6qqHRE+CqZVRPTH3rG/d7kHM5ClS3CdmnbOwubz1iaxo5xP9/a oFtz64wNjSoHklslD6P4ew3ja3LJr7mr0qaeNZdK8HvGptMY3a85KWCxhtEKeFSQtsQ9 KSwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=zzx5VAh4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z21-20020a1709028f9500b001728eb5a147si55231plo.409.2022.08.17.08.33.47; Wed, 17 Aug 2022 08:33:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=zzx5VAh4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240452AbiHQOqL (ORCPT + 99 others); Wed, 17 Aug 2022 10:46:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237072AbiHQOqI (ORCPT ); Wed, 17 Aug 2022 10:46:08 -0400 Received: from conssluserg-04.nifty.com (conssluserg-04.nifty.com [210.131.2.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA8239C2F4; Wed, 17 Aug 2022 07:46:06 -0700 (PDT) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 27HEjW8S025958; Wed, 17 Aug 2022 23:45:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 27HEjW8S025958 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1660747533; bh=uSGHNJC19uOo+o4MTqX8ubojhADfhgOtyxA3oBtx0Vw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=zzx5VAh46M/Lr1np/fAfFPD43U0C9d5eXTm8lncAWE8P07ixx8EjPNTnhuJJo+cil Lxvm8EbZ3QMhrejTuQbTnBNa2keGhA/KfvBeRwp0RBsApOY5Z5tnakBpMS1UyS4s5X 6pUAc1ry0VNea/1F72cAuKaTNYWNh5RjD1nPhTxHJ2+QLecEQMRe8yAGJxmgwYY81c mZ9HhU7XchekuVUmA/Eu7YsMGMceqG4BLPijWmQ1AanUoRkD3JBQUhor1D6SJ8Jixs 9wT02sOzE50xfMSyjBvDfdahD29o+4TIPnU56reoZP1yfFonJV3R4LjdMGakzzKoN+ jmYJ0j69bNu4w== X-Nifty-SrcIP: [209.85.221.43] Received: by mail-wr1-f43.google.com with SMTP id v3so16521862wrp.0; Wed, 17 Aug 2022 07:45:33 -0700 (PDT) X-Gm-Message-State: ACgBeo3ZEASHApfxFa/BrX9jIyykjjeGwyAQhKY4oVdFSsyr+ZDkJffd 5v0fESv3S6mqKFcj1QWT7+EDLrmfzei3cllnWd8= X-Received: by 2002:a5d:6248:0:b0:222:cd3b:94c8 with SMTP id m8-20020a5d6248000000b00222cd3b94c8mr14909860wrv.97.1660747531856; Wed, 17 Aug 2022 07:45:31 -0700 (PDT) MIME-Version: 1.0 References: <20220810230133.1895778-1-nathan@kernel.org> In-Reply-To: <20220810230133.1895778-1-nathan@kernel.org> From: Masahiro Yamada Date: Wed, 17 Aug 2022 23:44:47 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] scripts/Makefile.extrawarn: Do not disable clang's -Wformat-zero-length To: Nathan Chancellor Cc: Nick Desaulniers , Tom Rix , Linux Kbuild mailing list , Linux Kernel Mailing List , clang-built-linux Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 11, 2022 at 8:01 AM Nathan Chancellor wrote: > > There are no instances of this warning in the tree across several > difference architectures and configurations. This was added by > commit 26ea6bb1fef0 ("kbuild, LLVMLinux: Supress warnings unless W=1-3") > back in 2014, where it might have been necessary, but there are no > instances of it now so stop disabling it to increase warning coverage > for clang. > > Signed-off-by: Nathan Chancellor > --- Applied to linux-kbuild/fixes. Thanks. > scripts/Makefile.extrawarn | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn > index 9bbaf7112a9b..69cec45c4e71 100644 > --- a/scripts/Makefile.extrawarn > +++ b/scripts/Makefile.extrawarn > @@ -48,7 +48,6 @@ else > ifdef CONFIG_CC_IS_CLANG > KBUILD_CFLAGS += -Wno-initializer-overrides > KBUILD_CFLAGS += -Wno-sign-compare > -KBUILD_CFLAGS += -Wno-format-zero-length > KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast) > KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare > KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access) > > base-commit: aeb6e6ac18c73ec287b3b1e2c913520699358c13 > -- > 2.37.1 > -- Best Regards Masahiro Yamada