linux-next: build warnings after merge of the tty tree
From: Stephen Rothwell
Date: Tue Mar 10 2015 - 01:37:54 EST
Hi Greg,
After merging the tty tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:
drivers/tty/serial/serial_mctrl_gpio.c: In function 'mctrl_gpio_init':
drivers/tty/serial/serial_mctrl_gpio.c:110:4: warning: return makes pointer from integer without a cast
return PTR_ERR(gpios->gpio[i]);
^
drivers/tty/serial/serial_mctrl_gpio.c:90:6: warning: unused variable 'err' [-Wunused-variable]
int err;
^
Introduced by commit 1d267ea6539f ("serial: mctrl-gpio: simplify init
routine").
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgpSEfMAw1m_L.pgp
Description: OpenPGP digital signature