summaryrefslogtreecommitdiffstats
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
authorAndrew Morton2010-10-26 23:21:19 +0200
committerLinus Torvalds2010-10-27 01:52:04 +0200
commit52c5171214ff3327961d0ce0db7e8d2ce55004fd (patch)
tree705e7f51b39f4e8af767cc2a8df19e9e78f15000 /lib/percpu_counter.c
parenthostfs: fix UML crash: remove f_spare from hostfs (diff)
downloadkernel-qcow2-linux-52c5171214ff3327961d0ce0db7e8d2ce55004fd.tar.gz
kernel-qcow2-linux-52c5171214ff3327961d0ce0db7e8d2ce55004fd.tar.xz
kernel-qcow2-linux-52c5171214ff3327961d0ce0db7e8d2ce55004fd.zip
kfifo: disable __kfifo_must_check_helper()
This helper is wrong: it coerces signed values into unsigned ones, so code such as if (kfifo_alloc(...) < 0) { error } will fail to detect the error. So let's disable __kfifo_must_check_helper() for 2.6.36. Cc: Randy Dunlap <randy.dunlap@oracle.com> Cc: Stefani Seibold <stefani@seibold.net> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions