]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
lib: bitmap: make nbits parameter of bitmap_{and,or,xor,andnot} unsigned
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 6 Aug 2014 23:09:59 +0000 (16:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:26 +0000 (18:01 -0700)
commit2f9305eb31097fdd3dc86daca65d8097d1fcf2ff
tree6b6ecf6c0a60a531f6f2f9bdec7ef400defddb6f
parent65b4ee62c9cd10640f0054f47fd84c7920e8c118
lib: bitmap: make nbits parameter of bitmap_{and,or,xor,andnot} unsigned

This change is only for consistency with the changes to the other
bitmap_* functions; it doesn't change the size of the generated code:
inside BITS_TO_LONGS there is a sizeof(long), which causes bits to be
interpreted as unsigned anyway.

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>
include/linux/bitmap.h
lib/bitmap.c