Re: [-mm patch] mutex.h bogus __must_check (was Re: 2.6.21-mm1)

2007-05-05 Thread Andrew Morton
On Sat, 5 May 2007 14:14:44 +0200 Frederik Deweerdt <[EMAIL PROTECTED]> wrote: > On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm1/ > > > __must_check was added to mutex_lock_nested() which retur

[-mm patch] mutex.h bogus __must_check (was Re: 2.6.21-mm1)

2007-05-05 Thread Frederik Deweerdt
On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm1/ > __must_check was added to mutex_lock_nested() which returns void. This causes the following warnings: include/linux/mutex.h:128: warning: 'warn_unu