Revision ea5d05b34aca25c066e0699512d0ffbd8ee6ac3e authored by Jan Kara on 29 October 2014, 21:50:44 UTC, committed by Linus Torvalds on 29 October 2014, 23:33:14 UTC
If __bitmap_shift_left() or __bitmap_shift_right() are asked to shift by a multiple of BITS_PER_LONG, they will try to shift a long value by BITS_PER_LONG bits which is undefined. Change the functions to avoid the undefined shift. Coverity id: 1192175 Coverity id: 1192174 Signed-off-by: Jan Kara <jack@suse.cz> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 5a6e759
File | Mode | Size |
---|---|---|
6fire | ||
bcd2000 | ||
caiaq | ||
hiface | ||
misc | ||
usx2y | ||
Kconfig | -rw-r--r-- | 4.5 KB |
Makefile | -rw-r--r-- | 538 bytes |
card.c | -rw-r--r-- | 20.6 KB |
card.h | -rw-r--r-- | 6.4 KB |
clock.c | -rw-r--r-- | 11.3 KB |
clock.h | -rw-r--r-- | 339 bytes |
debug.h | -rw-r--r-- | 262 bytes |
endpoint.c | -rw-r--r-- | 31.0 KB |
endpoint.h | -rw-r--r-- | 1.3 KB |
format.c | -rw-r--r-- | 14.2 KB |
format.h | -rw-r--r-- | 292 bytes |
helper.c | -rw-r--r-- | 3.1 KB |
helper.h | -rw-r--r-- | 1.1 KB |
midi.c | -rw-r--r-- | 67.0 KB |
midi.h | -rw-r--r-- | 1.6 KB |
mixer.c | -rw-r--r-- | 67.0 KB |
mixer.h | -rw-r--r-- | 2.0 KB |
mixer_maps.c | -rw-r--r-- | 13.0 KB |
mixer_quirks.c | -rw-r--r-- | 42.8 KB |
mixer_quirks.h | -rw-r--r-- | 367 bytes |
pcm.c | -rw-r--r-- | 44.8 KB |
pcm.h | -rw-r--r-- | 379 bytes |
power.h | -rw-r--r-- | 375 bytes |
proc.c | -rw-r--r-- | 6.0 KB |
proc.h | -rw-r--r-- | 211 bytes |
quirks-table.h | -rw-r--r-- | 76.6 KB |
quirks.c | -rw-r--r-- | 35.0 KB |
quirks.h | -rw-r--r-- | 1.1 KB |
stream.c | -rw-r--r-- | 20.2 KB |
stream.h | -rw-r--r-- | 286 bytes |
usbaudio.h | -rw-r--r-- | 3.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...