Re: [PATCH] Make struct in_addr::s_addr __be32

2006-08-28 Thread David Miller
From: Alexey Dobriyan <[EMAIL PROTECTED]>
Date: Mon, 21 Aug 2006 03:20:51 +0400

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

Applied, thanks Alexey.
-
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


[PATCH] Make struct in_addr::s_addr __be32

2006-08-20 Thread Alexey Dobriyan
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