Re: [PATCH] Fix missing include of list.h in sysfs.h

From: Frank Haverkamp
Date: Thu Jan 18 2007 - 03:26:13 EST


Hi Greg,

On Wed, 2007-01-17 at 13:14 -0800, Greg KH wrote:

> Does this currently cause a build error on any platform for 2.6.20-rc5?

Not that I know of. I saw it because a friend of mine tried to port
some old code and played with the include ordering. Somehow he got
a compile error doing it, and we found that it is strange that sysfs.h
is using structs from list.h but is not including it. As result I sent
the patch to propose that it gets included to avoid any possible
trouble.

Frank

-
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/