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

From: Kay Sievers
Date: Sun Jan 09 2011 - 19:52:11 EST


On Mon, Jan 10, 2011 at 01:49, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi Greg, Kay,
>
> On Tue, 21 Dec 2010 11:42:04 -0800 Greg KH <greg@xxxxxxxxx> wrote:
>>
>> On Tue, Dec 21, 2010 at 06:11:58PM +1100, Stephen Rothwell wrote:
>> >
>> > 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").
>>
>> Oops, Kay, care to make up a patch to fix these warnings?
>
> These warnings are now in Linus' tree ...

Discussing with Greg at the moment. Patch is on the way.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/