From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24989 invoked by alias); 19 Aug 2009 14:36:21 -0000 Received: (qmail 24978 invoked by alias); 19 Aug 2009 14:36:21 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: STABLE3 - libgfs2: Fix 'dubious one-bit signed bitfield' sparse errors To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE3 X-Git-Reftype: branch X-Git-Oldrev: bec3b293d71404d64976a7da223435e98a969769 X-Git-Newrev: 495676a83779b50c0d7253c609958636ef1d46a2 From: andyp Message-Id: <20090819143554.151FD120215@lists.fedorahosted.org> Date: Wed, 19 Aug 2009 14:36:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00219.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=495676a83779b50c0d7253c609958636ef1d46a2 Commit: 495676a83779b50c0d7253c609958636ef1d46a2 Parent: bec3b293d71404d64976a7da223435e98a969769 Author: Andrew Price AuthorDate: Wed Aug 19 09:24:31 2009 +0100 Committer: Andrew Price CommitterDate: Wed Aug 19 15:30:15 2009 +0100 libgfs2: Fix 'dubious one-bit signed bitfield' sparse errors 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 Acked-by: Bob Peterson --- 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