[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070326233558.9254cdfc.akpm@linux-foundation.org>
Date: Mon, 26 Mar 2007 23:35:58 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [patch] add file position info to proc
On Tue, 27 Mar 2007 09:08:35 +0200 Miklos Szeredi <miklos@...redi.hu> wrote:
> > > This patch adds support for finding out the current file position,
> > > open flags and possibly other info in the future.
> >
> > fs/proc/base.c: In function 'proc_lookupfdinfo':
> > fs/proc/base.c:1584: warning: passing argument 3 of 'proc_lookupfd_common' from incompatible pointer type
> > fs/proc/base.c: In function 'proc_readfdinfo':
> > fs/proc/base.c:1590: warning: passing argument 4 of 'proc_readfd_common' from incompatible pointer type
> >
> > If taken, that callback into proc_lookupfd_common() will crash the kernel.
>
> Ugh. Some constification in -mm that I hadn't noticed. Resending.
>
OK, I misread the code. I fixed it up.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists