From: Ian Campbell Date: Sun, 3 Apr 2011 22:26:24 +0000 (+0000) Subject: Signed bit field; int have_hotplug_status_watch:1 X-Git-Tag: MMI-PSA29.97-13-9~18929^2~652 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=17938a6983d634a909d9779143a8dc2922720de5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Ian Campbell Signed-off-by: David S. Miller --- 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 { struct xenvif *vif; enum xenbus_state frontend_state; struct xenbus_watch hotplug_status_watch; - int have_hotplug_status_watch:1; + u8 have_hotplug_status_watch:1; }; static int connect_rings(struct backend_info *);