X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o0J9XfNm181015 for ; Tue, 19 Jan 2010 03:33:42 -0600 X-ASG-Debug-ID: 1263893681-215603970000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8187A124D0F9 for ; Tue, 19 Jan 2010 01:34:41 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by cuda.sgi.com with ESMTP id ppFXd4HhkAaSiXbF for ; Tue, 19 Jan 2010 01:34:41 -0800 (PST) X-ASG-Whitelist: Client Received: from hch by bombadil.infradead.org with local (Exim 4.69 #1 (Red Hat Linux)) id 1NXATw-0004Cb-Vg; Tue, 19 Jan 2010 09:34:40 +0000 Date: Tue, 19 Jan 2010 04:34:40 -0500 From: Christoph Hellwig To: Dave Chinner Cc: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: [PATCH 3/7] xfsprogs: fix some trivial warnings in xfs_db Subject: Re: [PATCH 3/7] xfsprogs: fix some trivial warnings in xfs_db Message-ID: <20100119093440.GA15482@infradead.org> References: <1263861413-13729-1-git-send-email-david@fromorbit.com> <1263861413-13729-4-git-send-email-david@fromorbit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1263861413-13729-4-git-send-email-david@fromorbit.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html X-Barracuda-Connect: bombadil.infradead.org[18.85.46.34] X-Barracuda-Start-Time: 1263893681 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Tue, Jan 19, 2010 at 11:36:49AM +1100, Dave Chinner wrote: > Three warnings, none harmful - one dir2 name sign warning and > two cases where gcc can't work out if a variable is initialised > correctly in a child function or not. > > Signed-off-by: Dave Chinner > Reviewed-by: Christoph Hellwig > --- > db/check.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/db/check.c b/db/check.c > index 7620d9c..f94a16b 100644 > --- a/db/check.c > +++ b/db/check.c > @@ -2317,7 +2317,7 @@ process_data_dir_v2( > tag_err += be16_to_cpu(*tagp) != (char *)dep - (char *)data; > addr = xfs_dir2_db_off_to_dataptr(mp, db, > (char *)dep - (char *)data); > - xname.name = (char *)dep->name; > + xname.name = (uchar_t *)dep->name; Aren't hese now both unsigned after the kernel changes are sycned over? And btw, please also avoid uchar_t in xfsprogs, it will be gone with next full libxfs resync.