There will be relatively small increase in sparse endian warnings, but
this (and sin_port) patch is a first step to make networking code endian
clean.
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
---
include/linux/in.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/linux/in.h
+++ b/include/linux/in.h
@@ -52,7 +52,7 @@ enum {
/* Internet address. */
struct in_addr {
- __u32 s_addr;
+ __be32 s_addr;
};
#define IP_TOS 1
-
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