aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timers/rtctest.c
diff options
context:
space:
mode:
authorAditya Pakki2019-01-07 11:53:59 -0800
committerDmitry Torokhov2019-01-07 11:59:57 -0800
commite85bb0beb6498c0dffe18a2f1f16d575bc175c32 (patch)
tree59b68bc824a4efc4515f8782cc4f53b0c363d4d2 /tools/testing/selftests/timers/rtctest.c
parent1cdbd3e57698fa22eddb522b2c7fa6048420da5f (diff)
Input: ad7879 - add check for read errors in interrupt
regmap_bulk_read() can return a non zero value on failure. The fix checks if the function call succeeded before calling mod_timer. The issue was identified by a static analysis tool. Signed-off-by: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/testing/selftests/timers/rtctest.c')
0 files changed, 0 insertions, 0 deletions