Re: [PATCH] Annotate h_proto in struct ethhdr

2005-11-10 Thread David S. Miller
From: Pavel Roskin <[EMAIL PROTECTED]> Date: Tue, 08 Nov 2005 14:10:36 -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__ > d

Re: [PATCH] Annotate h_proto in struct ethhdr

2005-11-08 Thread Pavel Roskin
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. This is a revised version that includes so that the userspace programs are n

Re: [PATCH] Annotate h_proto in struct ethhdr

2005-11-08 Thread David S. Miller
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__ > d