diff options
author | Stefani Seibold | 2010-10-28 00:34:50 +0200 |
---|---|---|
committer | Linus Torvalds | 2010-10-28 03:03:18 +0200 |
commit | 144ecf310eb52d9df607b9b7eeb096743e232a96 (patch) | |
tree | 2a444a3f618ec070f33b3024f7728db29f5ab7d4 /kernel/resource.c | |
parent | w1: don't allow arbitrary users to remove w1 devices (diff) | |
download | kernel-qcow2-linux-144ecf310eb52d9df607b9b7eeb096743e232a96.tar.gz kernel-qcow2-linux-144ecf310eb52d9df607b9b7eeb096743e232a96.tar.xz kernel-qcow2-linux-144ecf310eb52d9df607b9b7eeb096743e232a96.zip |
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 <stefani@seibold.net>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions