From: Rasmus Villemoes Date: Wed, 6 Aug 2014 23:10:03 +0000 (-0700) Subject: lib: bitmap: make nbits parameter of bitmap_subset unsigned X-Git-Tag: omap-for-v3.17/fixes-against-rc2~137^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5be20213e855550de2b32fde6fc116f74bab86a6;p=pandora-kernel.git lib: bitmap: make nbits parameter of bitmap_subset unsigned The compiler can generate slightly smaller and simpler code when it knows that "nbits" is non-negative. Since no-one passes a negative bit-count, this shouldn't affect the semantics. Signed-off-by: Rasmus Villemoes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed