linux-next: build warning after merge of the char-misc tree
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
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_64allmodconfig) 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: usedevm_nvmem_register()")--
Cheers,
Stephen Rothwell
Hi Stephen,
I'll send a follow-up to fix this.
Thanks,
Bartosz