[tip:core/locking] net: use __be16 instead of u16 for the userspace code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  d8287fc864643beaf1623c92aceb1ab38eae0648
Gitweb:     http://git.kernel.org/tip/d8287fc864643beaf1623c92aceb1ab38eae0648
Author:     Changli Gao <xiaosuo@xxxxxxxxx>
AuthorDate: Sun, 22 Aug 2010 18:37:27 -0700
Committer:  David S. Miller <davem@xxxxxxxxxxxxx>
CommitDate: Sun, 22 Aug 2010 18:37:27 -0700

net: use __be16 instead of u16 for the userspace code

Signed-off-by: Changli Gao <xiaosuo@xxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
---
 include/linux/if_pppox.h |    4 ++--
 1 files 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 linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux