xfs
[Top] [All Lists]

Re: Warnings when compiling xfs_macros.c

To: Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx>
Subject: Re: Warnings when compiling xfs_macros.c
From: Tim Shimmin <tes@xxxxxxx>
Date: Thu, 8 Sep 2005 14:17:10 +1000
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20050907184542.GA2316@xxxxxxxxxxxxxx>; from rodrigc@xxxxxxxxxxxxxx on Wed, Sep 07, 2005 at 02:45:42PM -0400
References: <20050907174535.GA1850@xxxxxxxxxxxxxx> <20050907182059.GA13074@xxxxxxxxxxxxx> <20050907184542.GA2316@xxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
On Wed, Sep 07, 2005 at 02:45:42PM -0400, Craig Rodrigues wrote:
> On Wed, Sep 07, 2005 at 07:21:00PM +0100, Christoph Hellwig wrote:
> > xfs_macros.c is a mess.  If you want to do a service to everyone
> > kill it and the surrounding machinery and just leave the macros,
> > without the out of line instances.
> 
> I don't like xfs_macros.c either, but my understanding
> was that it still needs to be around, so as not to diverge
> from the Irix code.  At least that is my understanding
> based on reading this thread:
> http://oss.sgi.com/archives/linux-xfs/2004-01/msg00187.html
> 
Yeah, add me to the list of people who don't like xfs_macros.c.
If you can come up with a patch that is not too ridiculously
intrusive then I'd welcome it and push it into IRIX (we certainly
do put code from Linux back into IRIX).
I just haven't looked into the scope of the changes that it
would cause.

> My proposed patch would not disturb the status quo (however distasteful),
> and get things to compile with -Wmissing-prototypes, which is
> used in the FreeBSD kernel compilation flags.
> 
I understand that you might not want to do the above.

--Tim


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