From: Andrew Morton Date: Tue, 26 Oct 2010 21:21:19 +0000 (-0700) Subject: kfifo: disable __kfifo_must_check_helper() X-Git-Tag: v2.6.37-rc1~105^2~166 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52c5171214ff3327961d0ce0db7e8d2ce55004fd;p=pandora-kernel.git 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 Cc: Stefani Seibold Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed