lib/bitmap.c: change parameters of bitmap_fold to unsigned
authorRasmus Villemoes <[email protected]>
Thu, 12 Feb 2015 23:02:04 +0000 (15:02 -0800)
committerLinus Torvalds <[email protected]>
Fri, 13 Feb 2015 02:54:14 +0000 (18:54 -0800)
commitb26ad5836c3a0a9d456eb60b9f841ca15403ee59
tree74b4b59d18c350bb79481283c8b54440c1aa25c7
parenteb5698837881687841c9e477e4162ac3387c6b59
lib/bitmap.c: change parameters of bitmap_fold to unsigned

Change the sz and nbits parameters of bitmap_fold to unsigned int for
consistency with other bitmap_* functions, and to save another few bytes
in the generated code.

[[email protected]: fix kerneldoc]
Signed-off-by: Rasmus Villemoes <[email protected]>
Cc: Wu Fengguang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/bitmap.h
lib/bitmap.c