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

From: Stephen Rothwell
Date: Tue Dec 21 2010 - 02:12:16 EST


Hi Greg,

After merging the tty tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:

drivers/tty/tty_io.c: In function 'tty_init':
drivers/tty/tty_io.c:3309: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
drivers/tty/vt/vt.c: In function 'vty_init':
drivers/tty/vt/vt.c:2997: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result

Introduced by commit fbc92a3455577ab17615cbcb91826399061bd789 ("tty: add
'active' sysfs attribute to tty0 and console device").
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

P.S. that commits subject appears twice in the commit message.

Attachment: pgp00000.pgp
Description: PGP signature