lib/bitmap: change type of bitmap_weight to unsigned long
bitmap_weight() doesn't return negative values, so change it's type
to unsigned long. It may help compiler to generate better code and
catch bugs.
Signed-off-by:
Yury Norov <yury.norov@gmail.com>
Showing
Please register or sign in to comment