]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: rtc: rtctest: fix alarm tests
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Dec 2018 21:34:20 +0000 (22:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2019 16:59:36 +0000 (17:59 +0100)
commit9360064b3f163427c0465a85b1d3940006f553ce
tree5b93231f76d14da20491a68569ad8ba66691706a
parentc79841a7ce6db439aba9d944d520ca461c8c709b
selftests: rtc: rtctest: fix alarm tests

[ Upstream commit fdac94489c4d247088b3885875b39b3e1eb621ef ]

Return values for select are not checked properly and timeouts may not be
detected.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Shuah Khan <shuah@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/rtc/rtctest.c