Skip to contentSkip to conversation

linux-next: build warning after merge of the tty tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Jan 21, 2016 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Greg,

After merging the tty tree (now in Linus' tree, sorry for not pointing it out earlier), today's linux-next build (multi_v7_defconfig) produced this warning:

drivers/tty/serial/amba-pl011.c:190:27: warning: 'vendor_zte' defined but not used [-Wunused-variable]

 static struct vendor_data vendor_zte = {
                           ^

Introduced by commit

7ec758718920 ("tty: amba-pl011: add support for ZTE UART (EXPERIMENTAL)")

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 6 lines · Stephen Rothwell

Hi Greg,

After merging the tty tree (now in Linus' tree, sorry for not pointing it out earlier), today's linux-next build (multi_v7_defconfig) produced this warning:

Quoted 7 lines

drivers/tty/serial/amba-pl011.c:190:27: warning: 'vendor_zte' defined but not used [-Wunused-variable]

 static struct vendor_data vendor_zte = {
                           ^

Introduced by commit

7ec758718920 ("tty: amba-pl011: add support for ZTE UART (EXPERIMENTAL)")

Thanks, Arnd sent me a patch for this earlier today, I'll merge it after 4.5-rc1 is out.

thanks,

greg k-h