* [Patch net-next] bridge: use __u16 in if_bridge.h
@ 2013-02-14 5:32 Cong Wang
2013-02-14 5:54 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Cong Wang @ 2013-02-14 5:32 UTC (permalink / raw)
To: netdev; +Cc: Vlad Yasevich, Stephen Hemminger, David S. Miller, Cong Wang
From: Cong Wang <amwang@redhat.com>
We should use "__u16" instead of "u16" in the user-space visable
header.
Cc: Vlad Yasevich <vyasevic@redhat.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
---
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
index f1bf8d3..2d70d79 100644
--- a/include/uapi/linux/if_bridge.h
+++ b/include/uapi/linux/if_bridge.h
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Patch net-next] bridge: use __u16 in if_bridge.h
2013-02-14 5:32 [Patch net-next] bridge: use __u16 in if_bridge.h Cong Wang
@ 2013-02-14 5:54 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-02-14 5:54 UTC (permalink / raw)
To: amwang; +Cc: netdev, vyasevic, stephen
From: Cong Wang <amwang@redhat.com>
Date: Thu, 14 Feb 2013 13:32:31 +0800
> From: Cong Wang <amwang@redhat.com>
>
> We should use "__u16" instead of "u16" in the user-space visable
> header.
>
> Cc: Vlad Yasevich <vyasevic@redhat.com>
> Cc: Stephen Hemminger <stephen@networkplumber.org>
> Cc: David S. Miller <davem@davemloft.net>
> Signed-off-by: Cong Wang <amwang@redhat.com>
Seems obvious enough, applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-14 5:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-14 5:32 [Patch net-next] bridge: use __u16 in if_bridge.h Cong Wang
2013-02-14 5:54 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox