]> git.baikalelectronics.ru Git - kernel.git/commit
Input: hp_sdc_rtc - fix test in hp_sdc_rtc_read_rt()
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 18 Oct 2009 07:17:15 +0000 (00:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 18 Oct 2009 07:21:34 +0000 (00:21 -0700)
commitdae75c4d1529da18927f3d2d64667f9c7ed3585f
tree51a8a9e8c10ab58940b69863f240a8436a2dca44
parent9feda9ebe6b35e01fd8c360b786bdf89ac438ab4
Input: hp_sdc_rtc - fix test in hp_sdc_rtc_read_rt()

If left unsigned the hp_sdc_rtc_read_i8042timer() return value will not
be checked correctly.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/hp_sdc_rtc.c