Re: compiler warnings in 2.6.35.2

From: Greg KH
Date: Wed Aug 18 2010 - 09:35:43 EST


On Mon, Aug 16, 2010 at 10:12:52PM -0400, Chris Frey wrote:
> Hi,
>
> When compiling the latest 2.6.35.2 I get a ton of warnings like the
> following. Similar warnings were present in 2.6.35, and I assumed a
> stable point release may have tackled them already. But maybe they
> are peculiar to my setup. Warning below.
>
> - Chris
>
>
>
> CC mm/swap.o
> In file included from include/linux/kobject.h:21,
> from include/linux/sched.h:91,
> from mm/swap.c:17:
> include/linux/sysfs.h:183: warning: parameter has incomplete type

Known issue, will show up in a future .35.y kernel release. The patch
is below if you need it now.

thanks,

greg k-h