[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1282475373-24660-1-git-send-email-xiaosuo@gmail.com>
Date: Sun, 22 Aug 2010 19:09:33 +0800
From: Changli Gao <xiaosuo@...il.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, Changli Gao <xiaosuo@...il.com>
Subject: [PATCH] net: use __be16 instead of u16 for the userspace code
Signed-off-by: Changli Gao <xiaosuo@...il.com>
---
include/linux/if_pppox.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/if_pppox.h b/include/linux/if_pppox.h
index 1525b21..770e8fa 100644
--- a/include/linux/if_pppox.h
+++ b/include/linux/if_pppox.h
@@ -50,8 +50,8 @@ struct pppoe_addr {
* PPTP addressing definition
*/
struct pptp_addr {
- u16 call_id;
- struct in_addr sin_addr;
+ __be16 call_id;
+ struct in_addr sin_addr;
};
/************************************************************************
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists