diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-07-25 10:18:17 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-07-26 13:25:21 +0200 |
commit | 3b0040a47ad63f7147e9e7d2febb61a3b564bb90 (patch) | |
tree | b22f1711618c557b41a5d37b139f0cfe532ad67c /net/x25 | |
parent | 594712276e737961d30e11eae80d403b2b3815df (diff) |
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: <stable@vger.kernel.org> # v3.8+
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions