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:
e706974
)
drivers/rtc/rtc-x1205.c: use sign_extend32() for sign extension
author
Martin Kepplinger
<martink@posteo.de>
Thu, 16 Apr 2015 19:45:09 +0000
(12:45 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:59 +0000
(09:03 -0400)
Despite its name, sign_extend32() is safe to use for 8 bit types too.
(See https://lkml.org/lkml/2015/1/18/289).
Signed-off-by: Martin Kepplinger <martink@posteo.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-x1205.c
patch
|
blob
|
history
diff --cc
drivers/rtc/rtc-x1205.c
Simple merge