Dan Carpenter cb283cca1d rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
[ Upstream commit 7372971c1be5b7d4fdd8ad237798bdc1d1d54162 ]

The mc146818_get_time() function returns zero on success or negative
a error code on failure.  It needs to be type int.

Fixes: d35786b3a28d ("rtc: mc146818-lib: change return values of mc146818_get_time()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220111071922.GE11243@kili
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-14 11:31:59 +01:00
..
2021-09-26 14:09:02 +02:00
2020-07-02 22:32:00 +02:00
2020-07-21 09:56:46 +02:00
2019-11-08 16:14:09 +01:00
2019-07-17 10:03:50 -07:00
2020-07-02 22:32:01 +02:00
2019-11-08 16:14:09 +01:00
2019-12-23 11:23:53 +01:00
2019-04-04 10:07:10 +02:00
2020-10-19 22:48:55 +02:00
2019-10-19 22:33:05 +02:00
2019-11-08 16:14:09 +01:00
2020-09-15 11:21:50 +02:00
2019-05-23 17:44:52 +02:00
2020-03-16 11:12:08 +01:00
2019-05-08 22:14:36 +02:00