Re: Kernel header policy

From: Greg KH
Date: Mon Jul 11 2005 - 22:12:19 EST


On Mon, Jul 11, 2005 at 03:37:47PM -0600, Marc Aurele La France wrote:
> I am contacting you to express my concern over a growing trend in kernel
> development. I am specifically referring to changes being made to kernel
> headers that break compatibility at the userland level, where __KERNEL__
> isn't #define'd.

Kernel headers are not to be included by userspace programs. See the
archives for details...

> b) <linux/pci.h> has been broken since 2.5.62's development cycle and has
> yet to be fixed. Here, the #include of <linux/mod_devicetable.h> needs
> to be bracked by __KERNEL__. This is another occurrence of "1)".

-ENOPATCH.

thanks,

greg k-h
-
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/