diff options
| author | Hyogi Gim <hyogi.gim@lge.com> | 2014-08-08 14:20:11 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:35:14 +0200 |
| commit | 3d6eadcdc5d996aeb494296e122979c679f54bae (patch) | |
| tree | be560beb68a3b5ae1292a9b89b178a63e54703b9 /include/linux/patchkey.h | |
| parent | dfb83e2270841bed0699c8a4c986f7a29a9e81f6 (diff) | |
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 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions
