public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the tty tree
@ 2015-03-10  5:37 Stephen Rothwell
  2015-03-10  8:29 ` [PATCH] fixup! serial: mctrl-gpio: simplify init routine Uwe Kleine-König
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2015-03-10  5:37 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Uwe Kleine-König

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

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@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-10  9:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10  5:37 linux-next: build warnings after merge of the tty tree Stephen Rothwell
2015-03-10  8:29 ` [PATCH] fixup! serial: mctrl-gpio: simplify init routine Uwe Kleine-König
2015-03-10  9:18   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox