diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-07-25 04:18:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-11 21:35:25 -0400 |
commit | fa2446744dd5a99a3938aad9faade9b8928aec48 (patch) | |
tree | ed56acf132f5d54553e2e4383c929f341addbb5b /kernel/workqueue.c | |
parent | 72e2729ea923cbbbeda03e5fce14f50b0707f724 (diff) |
s390/bitops: fix find_next_bit_left
commit 3b0040a47ad63f7147e9e7d2febb61a3b564bb90 upstream.
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.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions