netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: use __be16 instead of u16 for the userspace code
@ 2010-08-22 11:09 Changli Gao
  2010-08-23  1:37 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Changli Gao @ 2010-08-22 11:09 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Changli Gao

Signed-off-by: Changli Gao <xiaosuo@gmail.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;
 };
 
 /************************************************************************

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: use __be16 instead of u16 for the userspace code
  2010-08-22 11:09 [PATCH] net: use __be16 instead of u16 for the userspace code Changli Gao
@ 2010-08-23  1:37 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-08-23  1:37 UTC (permalink / raw)
  To: xiaosuo; +Cc: netdev

From: Changli Gao <xiaosuo@gmail.com>
Date: Sun, 22 Aug 2010 19:09:33 +0800

> Signed-off-by: Changli Gao <xiaosuo@gmail.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-23  1:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-22 11:09 [PATCH] net: use __be16 instead of u16 for the userspace code Changli Gao
2010-08-23  1:37 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).