Skip to contentSkip to conversation

bridge: use __u16 in if_bridge.h

PATCH In review Cong Wang 2 participants 2 messages Feb 14, 2013

Subsystems (3)
lore
Share & tools
lore

Cong Wang

author
#0 lore raw

PATCH 1/1 bridge: use __u16 in if_bridge.h

From: Cong Wang <[email protected]>

We should use "__u16" instead of "u16" in the user-space visable header.

Cc Vlad Yasevich <[email protected]>
Cc Stephen Hemminger <[email protected]>
Cc David S. Miller <[email protected]>

---

include/uapi/linux/if_bridge.h +2 -2
index f1bf8d3..2d70d79 100644
@@ -124,8 +124,8 @@ enum {
 #define BRIDGE_VLAN_INFO_UNTAGGED	(1<<2)	/* VLAN egresses untagged */
 
 struct bridge_vlan_info {
-	u16 flags;
-	u16 vid;
+	__u16 flags;
+	__u16 vid;
 };
 
 /* Bridge multicast database attributes