From: Stefani Seibold Date: Wed, 27 Oct 2010 22:34:50 +0000 (-0700) Subject: kfifo: fix kfifo_alloc() to return a signed int value X-Git-Tag: v2.6.37-rc1~85^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=144ecf310eb52d9df607b9b7eeb096743e232a96;p=pandora-kernel.git kfifo: fix kfifo_alloc() to return a signed int value Add a new __kfifo_int_must_check_helper() helper function, which is needed for kfifo_alloc() to return the right signed integer value. The origin __kfifo_must_check_helper() helper was renamed into __kfifo_uint_must_check_helper() to show the sign which is expected and returned. (And revert the temporary disabling of __kfifo_must_check_helper()) Signed-off-by: Stefani Seibold Acked-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed