[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1171599026.6853.36.camel@roc-desktop>
Date: Fri, 16 Feb 2007 12:10:26 +0800
From: "Wu, Bryan" <bryan.wu@...log.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Michal Piotrowski <michal.k.k.piotrowski@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] shm: Fix the locking and cleanup error handling in
do_shmat.
On Thu, 2007-02-15 at 22:34 -0500, Eric W. Biederman wrote:
> > drivers/video/Kconfig:1606:warning: 'select' used by config symbol
> 'FB_PS3'
> > refer to undefined symbol 'PS3_PS3AV'
> > /mnt/md0/devel/linux-mm/ipc/shm.c: In function 'do_shmat':
> > /mnt/md0/devel/linux-mm/ipc/shm.c:945: warning: passing argument 1
> of 'IS_ERR'
> > makes pointer from integer without a cast
> > /mnt/md0/devel/linux-mm/ipc/shm.c:946: warning: passing argument 1
> of 'PTR_ERR'
> > makes pointer from integer without a cast
> > /mnt/md0/devel/linux-mm/ipc/shm.c:931: warning: label 'out_nattch'
> defined but
> > not used
> > /mnt/md0/devel/linux-mm/ipc/shm.c:890: error: label 'out_put_path'
> used but not
> > defined
> > make[2]: *** [ipc/shm.o] Error 1
> > make[1]: *** [ipc] Error 2
> > make: *** [_all] Error 2
>
> Definitely some weird patch application problem.
>
> All of the calls to IS_ERR and PTR_ERR should have been removed.
> Michal since it didn't seem to blow up when Andrew applied it I'm
> going to assume the problem is on your end for now.
>
> Eric
>
Hi Eric,
I am also troubling with the incorrect "nattch" value in do_shmat().
Actually, I found this bugs when I do some LTP testing on
blackfin-uClinux platform.
The "nattch" value returned from shmctl() system call is wrong.
So I think your patch can solve this bug. But which version Linux kernel
is your patch applying for?
I want to do some test on my blackfin-uClinux 2.6.20 platform.
Thanks
-Bryan
-
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