diff options
author | 2014-08-08 14:20:11 -0700 | |
---|---|---|
committer | 2014-08-08 15:57:19 -0700 | |
commit | ca6dc2dab97133b874c2f6a76b6125497b67b429 (patch) | |
tree | 82bcedccb2fa224f4d00b9155325699f678f16a8 /fs/minix/inode.c | |
parent | drivers/rtc/rtc-efi.c: check for invalid data coming back from UEFI (diff) | |
download | linux-dev-ca6dc2dab97133b874c2f6a76b6125497b67b429.tar.xz linux-dev-ca6dc2dab97133b874c2f6a76b6125497b67b429.zip |
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 'fs/minix/inode.c')
0 files changed, 0 insertions, 0 deletions