git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac521d
)
lib: bitmap: add missing mask in bitmap_shift_right
author
Rasmus Villemoes
<linux@rasmusvillemoes.dk>
Wed, 6 Aug 2014 23:10:20 +0000
(16:10 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:27 +0000
(18:01 -0700)
There is no guarantee that *src does not contain garbage bits outside
the lower nbits, so we need to mask it before the shift-and-assign.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/bitmap.h
patch
|
blob
|
history
diff --cc
include/linux/bitmap.h
Simple merge