mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
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>
This commit is contained in:
parent
034e345081
commit
17938a6983
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ struct backend_info {
|
||||||
struct xenvif *vif;
|
struct xenvif *vif;
|
||||||
enum xenbus_state frontend_state;
|
enum xenbus_state frontend_state;
|
||||||
struct xenbus_watch hotplug_status_watch;
|
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 *);
|
static int connect_rings(struct backend_info *);
|
||||||
|
|
Loading…
Reference in a new issue