Commit 625f4f02 authored by Mateusz Jończyk's avatar Mateusz Jończyk Committed by sanglipeng
Browse files

rtc: mc146818-lib: change return values of mc146818_get_time()

stable inclusion
from stable-v5.10.159
commit b9a5c470e075583c270628bf49e846e08ce910d9
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7NTXH

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b9a5c470e075583c270628bf49e846e08ce910d9



--------------------------------

[ Upstream commit d35786b3 ]

No function is checking mc146818_get_time() return values yet, so
correct them to make them more customary.

Signed-off-by: default avatarMateusz Jończyk <mat.jonczyk@o2.pl>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211210200131.153887-3-mat.jonczyk@o2.pl


Stable-dep-of: cd17420e ("rtc: cmos: avoid UIP when writing alarm time")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 2eb942d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment