linux-toolchains.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: masahiroy@kernel.org, linux-kernel@vger.kernel.org,
	nathan@kernel.org, ndesaulniers@google.com, x86@kernel.org,
	linux-toolchains@vger.kernel.org
Subject: Re: [PATCH] Makefile: 'Promote' -Wunused-but-set-variable to W=3
Date: Sat, 11 Sep 2021 16:34:01 -0500	[thread overview]
Message-ID: <20210911213401.GE1583@gate.crashing.org> (raw)
In-Reply-To: <20210911142905.GZ4323@worktop.programming.kicks-ass.net>

On Sat, Sep 11, 2021 at 04:29:05PM +0200, Peter Zijlstra wrote:
> Upgrade -Wunused-but-set-variable to W=3 to avoid the build robots
> sending endless spam for this garbage warning.

"This warning for garbage code" you mean?

> By promoting it to W=3 the robots will no longer report it and people
> will no longer attempt to fix them by making the code worse.

Instead, they will not see such warnings, and make the code worse.


Segher

      reply	other threads:[~2021-09-11 21:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-11 14:29 [PATCH] Makefile: 'Promote' -Wunused-but-set-variable to W=3 Peter Zijlstra
2021-09-11 21:34 ` Segher Boessenkool [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210911213401.GE1583@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-toolchains@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=peterz@infradead.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).