Skip to contentSkip to conversation

linux-next: build warning after merge of the char-misc tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Oct 2, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/nvmem/lpc18xx_eeprom.c: In function 'lpc18xx_eeprom_remove':
drivers/nvmem/lpc18xx_eeprom.c:258:6: warning: unused variable 'ret' [-Wunused-variable]

  int ret;
      ^~~

Introduced by commit

226014d13fa5 ("nvmem: lpc18xx_eeprom: use devm_nvmem_register()")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

wt., 2 paź 2018 o 07:31 Stephen Rothwell <[email protected]> napisał(a):

Quoted 11 lines

Hi all,

After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/nvmem/lpc18xx_eeprom.c: In function 'lpc18xx_eeprom_remove':
drivers/nvmem/lpc18xx_eeprom.c:258:6: warning: unused variable 'ret' [-Wunused-variable]

  int ret;
      ^~~
Quoted 7 lines

Introduced by commit

226014d13fa5 ("nvmem: lpc18xx_eeprom: use devm_nvmem_register()")

--
Cheers,
Stephen Rothwell

Hi Stephen,

I'll send a follow-up to fix this.

Thanks,
Bartosz