aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2014-08-06 16:10:16 -0700
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:59:32 +0200
commit3ea5867dce212e99915b225b8bd52af8bc7780c4 (patch)
treeb98f7352ee40cc343cd9a2ad2fdc44d98de57836 /include/linux/debugfs.h
parentcf8318c9fcfaecf30a1884207be5c3bf78dde7a9 (diff)
lib: bitmap: change parameter of bitmap_*_region to unsigned
Changing the pos parameter of __reg_op to unsigned allows the compiler to generate slightly smaller and simpler code. Also update its callers bitmap_*_region to receive and pass unsigned int. The return types of bitmap_find_free_region and bitmap_allocate_region are still int to allow a negative error code to be returned. An int is certainly capable of representing any realistic return value. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/debugfs.h')
0 files changed, 0 insertions, 0 deletions