diff options
| author | Martin Kepplinger <martink@posteo.de> | 2015-04-16 12:45:09 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:03:59 -0400 |
| commit | 86e66604fca053e5ecb2427538aa233637119409 (patch) | |
| tree | 62499fe6e2d21a0fc75d3ad6dce735ea183cffe8 /drivers/rtc/hctosys.c | |
| parent | drivers/rtc/rtc-em3027.c: add device tree support (diff) | |
| download | linux-86e66604fca053e5ecb2427538aa233637119409.tar.gz linux-86e66604fca053e5ecb2427538aa233637119409.zip | |
drivers/rtc/rtc-x1205.c: use sign_extend32() for sign extension
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>
Diffstat (limited to 'drivers/rtc/hctosys.c')
0 files changed, 0 insertions, 0 deletions
