diff options
author | Ian Campbell <Ian.Campbell@eu.citrix.com> | 2011-04-03 18:26:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-06 17:43:33 -0400 |
commit | 17938a6983d634a909d9779143a8dc2922720de5 (patch) | |
tree | 47ab635b64de15f44ef5684f409dfe9df02e5f10 /drivers/net/xen-netback/xenbus.c | |
parent | 034e345081cfb442abeb0e00fa26edeedb5ba96a (diff) |
Signed bit field; int have_hotplug_status_watch:1
Fixes error from sparse:
CHECK drivers/net/xen-netback/xenbus.c
drivers/net/xen-netback/xenbus.c:29:40: error: dubious one-bit signed bitfield
int have_hotplug_status_watch:1;
Reported-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/xenbus.c')
-rw-r--r-- | drivers/net/xen-netback/xenbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c index 22b8c3505991..1ce729d6af75 100644 --- a/drivers/net/xen-netback/xenbus.c +++ b/drivers/net/xen-netback/xenbus.c | |||
@@ -26,7 +26,7 @@ struct backend_info { | |||
26 | struct xenvif *vif; | 26 | struct xenvif *vif; |
27 | enum xenbus_state frontend_state; | 27 | enum xenbus_state frontend_state; |
28 | struct xenbus_watch hotplug_status_watch; | 28 | struct xenbus_watch hotplug_status_watch; |
29 | int have_hotplug_status_watch:1; | 29 | u8 have_hotplug_status_watch:1; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | static int connect_rings(struct backend_info *); | 32 | static int connect_rings(struct backend_info *); |