Skip to contentSkip to conversation

net: use __be16 instead of u16 for the userspace code

PATCH Applied Changli Gao 2 participants 2 messages Aug 22, 2010 – Aug 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: use __be16 instead of u16 for the userspace code

---
 include/linux/if_pppox.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/if_pppox.h +2 -2
index 1525b21..770e8fa 100644
@@ -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;
 };
 
 /************************************************************************