Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17938a69 authored by Ian Campbell's avatar Ian Campbell Committed by David S. Miller
Browse files

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: default avatarDr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 034e3450
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 *);