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:Mateusz Jończyk <mat.jonczyk@o2.pl> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by:
Alexandre 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:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment