From: Pavel Roskin <[EMAIL PROTECTED]>
Date: Tue, 08 Nov 2005 01:40:57 -0500

> The protocol field in ethernet headers is big-endian and should be
> annotated as such.  This patch allows detection of missing ntohs() calls
> on the ethernet protocol field when sparse is run with __CHECK_ENDIAN__
> defined.
> 
> Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]>

You're going to need to add an unconditional include
of <linux/types.h> in order to not break userspace
builds that use this header file, in order to get the
__be16 type.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to