[lkml]   [2020]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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:

Fair enough. I'll fix this by adding __maybe_unused.

Email: Herbert Xu <>
Home Page:
PGP Key:

 \ /
  Last update: 2020-06-29 22:38    [W:0.052 / U:4.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site