From: Rasmus Villemoes Date: Wed, 6 Aug 2014 23:09:55 +0000 (-0700) Subject: lib: bitmap: make nbits parameter of bitmap_complement unsigned X-Git-Tag: omap-for-v3.17/fixes-against-rc2~137^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d6684f4e6a46f3a8263f5681e093bccbb767a1c;p=pandora-kernel.git lib: bitmap: make nbits parameter of bitmap_complement 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