Re: linux-next: build warning after merge of the char-misc tree
From: Bartosz Golaszewski
Date: Tue Oct 02 2018 - 04:34:55 EST
wt., 2 paÅ 2018 o 07:31 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> napisaÅ(a):
>
> 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()")
>
> --
> Cheers,
> Stephen Rothwell
Hi Stephen,
I'll send a follow-up to fix this.
Thanks,
Bartosz