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:
8a012ff
)
mfd: sm501: Avoid implicit sign extension
author
Lee Jones
<lee.jones@linaro.org>
Mon, 18 Aug 2014 15:11:27 +0000
(16:11 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Fri, 26 Sep 2014 07:15:34 +0000
(08:15 +0100)
Suspicious implicit sign extension where 'reg' (unsigned char) is
promoted in reg << clksrc to int, then sign-extended to unsigned
long. If reg << clksrc is greater than 0x7FFFFFFF, the upper bits
of the result will all be 1.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
No differences found