Signed bit field; int have_hotplug_status_watch:1

David Miller
Wed, 06 Apr 2011 21:43:57 -0000

From: Ian Campbell <Ian.Campbell at eu.citrix.com>
Date: Mon, 4 Apr 2011 09:26:24 +0100

> Subject: [PATCH] xen: netback: use unsigned type for one-bit bitfield.
>
> 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 at treblig.org>
> Signed-off-by: Ian Campbell <ian.campbell at citrix.com>

Applied to net-next-2.6, thanks.