]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mutex_lock_interruptible(): add __must_check
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 9 May 2007 09:33:39 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:49 +0000 (12:30 -0700)
commit18d8362d517cb2bd97761294924fe6c2a6ee5e3c
treefff49e54cb725ba33ddf4453fb866838ad6ceeca
parentae030e435f5400cff77c52506a8d3d7278f0947c
mutex_lock_interruptible(): add __must_check

It's not sane to use mutex_lock_interruptible() and to then ignore the result.

Ditto down_interruptible(), but I'm lazy.

Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mutex.h