From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Wed, 19 Aug 2009 08:34:24 -0400 (EDT) Subject: [Cluster-devel] [PATCH 1/4] libgfs2: Fix 'dubious one-bit signed bitfield' sparse errors In-Reply-To: <1250670274-7794-2-git-send-email-andy@andrewprice.me.uk> Message-ID: <1836935881.770041250685264666.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- "Andrew Price" wrote: | Fix these sparse errors: | | libgfs2.h:575:11: error: dubious one-bit signed bitfield | libgfs2.h:576:10: error: dubious one-bit signed bitfield | libgfs2.h:577:13: error: dubious one-bit signed bitfield | | Signed-off-by: Andrew Price | --- | gfs2/libgfs2/libgfs2.h | 6 +++--- | 1 files changed, 3 insertions(+), 3 deletions(-) | | diff --git a/gfs2/libgfs2/libgfs2.h b/gfs2/libgfs2/libgfs2.h | index 558283d..b3c9483 100644 | --- a/gfs2/libgfs2/libgfs2.h | +++ b/gfs2/libgfs2/libgfs2.h | @@ -572,9 +572,9 @@ extern struct gfs2_inode *gfs_inode_get(struct | gfs2_sbd *sdp, | /* gfs2_log.c */ | struct gfs2_options { | char *device; | - int yes:1; | - int no:1; | - int query:1; | + unsigned int yes:1; | + unsigned int no:1; | + unsigned int query:1; | }; | | #define MSG_DEBUG 7 | -- | 1.6.3.3 Hi, ACKed by Bob Peterson Regards, Bob Peterson Red Hat File Systems