Re: drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable 'rng_dt_id'

2020-06-29 Thread Herbert Xu
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

Re: drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable 'rng_dt_id'

2020-06-26 Thread Nathan Chancellor
On Fri, Jun 26, 2020 at 04:42:25PM +1000, Herbert Xu wrote: > 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] > &

Re: drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable 'rng_dt_id'

2020-06-26 Thread Herbert Xu
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[] = { >

drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable 'rng_dt_id'

2020-06-23 Thread kernel test robot
=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable >> 'rng_dt_id' [-Wunu