From: Martin Schwidefsky Date: Thu, 25 Jul 2013 08:18:17 +0000 (+0200) Subject: s390/bitops: fix find_next_bit_left X-Git-Tag: v3.11-rc5~37^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b0040a47ad63f7147e9e7d2febb61a3b564bb90;p=pandora-kernel.git s390/bitops: fix find_next_bit_left The find_next_bit_left function is broken if used with an offset which is not a multiple of 64. The shift to mask the bits of a 64-bit word not to search is in the wrong direction, the result can be either a bit found smaller than the offset or failure to find a set bit. Cc: # v3.8+ Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed