[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200626064225.GA6023@gondor.apana.org.au>
Date: Fri, 26 Jun 2020 16:42:25 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: kernel test robot <lkp@...el.com>
Cc: 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 Tue, Jun 23, 2020 at 09:58:39PM +0800, kernel test robot wrote:
>
> >> drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable 'rng_dt_id' [-Wunused-const-variable]
> static const struct of_device_id rng_dt_id[] = {
> ^
> 1 warning generated.
The kernel is supposed to be built with -Wno-unused-const-variable,
so I guess this is a deficiency in clang.
Cheers,
--
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