WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: Signed bit field; int have_hotplug_status_watch:1

From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
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@xxxxxxxxxxx>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Applied to net-next-2.6, thanks.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>