summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHyogi Gim <hyogi.gim@lge.com>2014-08-09 01:20:11 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 02:57:19 +0400
commitca6dc2dab97133b874c2f6a76b6125497b67b429 (patch)
tree82bcedccb2fa224f4d00b9155325699f678f16a8 /arch
parent6e85bab6bc1019f9b87c53b32da3ad7791e7ddf9 (diff)
downloadlinux-ca6dc2dab97133b874c2f6a76b6125497b67b429.tar.xz
drivers/rtc/interface.c: check the error after __rtc_read_time()
In __rtc_set_alarm(), the error after __rtc_read_time() is not checked. If rtc device fail to read time, we cannot guarantee the following process. Add the verification code for returned __rtc_read_time() error. Signed-off-by: Hyogi Gim <hyogi.gim@lge.com> Acked-by: 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 'arch')
0 files changed, 0 insertions, 0 deletions