aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorHyogi Gim <[email protected]>2014-08-08 14:20:24 -0700
committerLinus Torvalds <[email protected]>2014-08-08 15:57:20 -0700
commite1d60093ca7341e884578c41a29da7cd1714c80e (patch)
tree505e4dbbc5f60276f7e3059af72723c00ad95c4d /lib/mpi/mpi-cmp.c
parent796b7abb33cd78412897a9e927eb5a8f5a9c4fe6 (diff)
driver/rtc/class.c: check the error after rtc_read_time()
In rtc_suspend() and rtc_resume(), 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 <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions