commit | 154f5e38f30f262025c8c2e825376f6eb51e8bcb | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Wed Aug 06 16:10:10 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Aug 06 18:01:26 2014 -0700 |
tree | 2b9850d703dfe9d0a7dca3748f7f4781f9a6c3b2 | |
parent | fb5ac54263ef3fcb5c469a61e0ab6b06e45e2307 [diff] |
lib: bitmap: make the start index of bitmap_clear unsigned The compiler can generate slightly smaller and simpler code when it knows that "start" is non-negative. Also, use the names "start" and "len" for the two parameters for consistency with bitmap_set. 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>