From: Rasmus Villemoes Date: Wed, 6 Aug 2014 23:10:22 +0000 (-0700) Subject: lib: bitmap: add missing mask in bitmap_and X-Git-Tag: omap-for-v3.17/fixes-against-rc2~137^2~32 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e5f97d1927f41affa21aa5b321865ceab1994ce;p=pandora-kernel.git lib: bitmap: add missing mask in bitmap_and Apparently, bitmap_and is supposed to return whether the new bitmap is empty. But it didn't take potential garbage bits in the last word into account. Signed-off-by: Rasmus Villemoes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed