From: David Miller <davem@davemloft.net>
To: Ian.Campbell@eu.citrix.com
Cc: linux@treblig.org, virtualization@lists.linux-foundation.org,
Jeremy.Fitzhardinge@citrix.com, konrad.wilk@oracle.com,
netdev@vger.kernel.org, xen-devel@lists.xensource.com
Subject: Re: Signed bit field; int have_hotplug_status_watch:1
Date: Wed, 06 Apr 2011 14:43:57 -0700 (PDT) [thread overview]
Message-ID: <20110406.144357.186323091.davem@davemloft.net> (raw)
In-Reply-To: <1301905584.23887.49.camel@zakaz.uk.xensource.com>
From: Ian Campbell <Ian.Campbell@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@treblig.org>
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Applied to net-next-2.6, thanks.
prev parent reply other threads:[~2011-04-06 21:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110403213241.GA25913@gallifrey>
2011-04-04 8:26 ` Signed bit field; int have_hotplug_status_watch:1 Ian Campbell
2011-04-06 21:43 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110406.144357.186323091.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Ian.Campbell@eu.citrix.com \
--cc=Jeremy.Fitzhardinge@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=linux@treblig.org \
--cc=netdev@vger.kernel.org \
--cc=virtualization@lists.linux-foundation.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).