[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200629080227.GA11211@gondor.apana.org.au>
Date: Mon, 29 Jun 2020 18:02:27 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: kernel test robot <lkp@...el.com>,
Tomer Maimon <tmaimon77@...il.com>, kbuild-all@...ts.01.org,
clang-built-linux@...glegroups.com, linux-kernel@...r.kernel.org,
Daniel Thompson <daniel.thompson@...aro.org>
Subject: Re: drivers/char/hw_random/npcm-rng.c:166:34: warning: unused
variable 'rng_dt_id'
On Thu, Jun 25, 2020 at 11:52:47PM -0700, Nathan Chancellor wrote:
>
> No deficiency in clang, it's a W=1 build, which explicitly enables
> -Wunused-const-variable per scripts/Kbuild.extrawarn. The 0day team
> decided to enable W=1 for all build tests, hence the comment in the
> reproduce notes. A thread with discussion:
>
> https://lore.kernel.org/lkml/202005200123.gFjGzJEH%25lkp@intel.com/
Fair enough. I'll fix this by adding __maybe_unused.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists