include/bitmap.h: add the type of the nbits parameter in bitmap_empty()
PATCH 1/1 include/bitmap.h: add the type of the nbits parameter in bitmap_empty()
The type of parameter in bitmap_empty() is lack. In order to keep context consistent, so add the type of the parameter in bitmap_empty().
Signed-off-by Liangliang Huang <[email protected]>
--- include/linux/bitmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/bitmap.h +1 -1
@@ -379,7 +379,7 @@ static inline int bitmap_subset(const unsigned long *src1,return __bitmap_subset (src1, src2, nbits); } -static inline int bitmap_empty (const unsigned long *src,unsigned nbits) +static inline int bitmap_empty (const unsigned long *src,unsigned int nbits) {if (small_const_nbits (nbits))return ! (*src &BITMAP_LAST_WORD_MASK (nbits));
Signature · 1 line
2.7.0