summaryrefslogtreecommitdiffstats
path: root/common/poller.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-01-06 22:17:35 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2016-01-07 08:47:25 +0100
commit4c9b2e72057ca3d1578b33ff75ad251bb8225a9c (patch)
treebfd60d16573c865611358813cde7340dfc0916e2 /common/poller.c
parent645320b94aaa0f478d31809673df6f83964c5292 (diff)
downloadbarebox-4c9b2e72057ca3d1578b33ff75ad251bb8225a9c.tar.gz
barebox-4c9b2e72057ca3d1578b33ff75ad251bb8225a9c.tar.xz
commands/hwclock: Check return value of rtc_read_time()
It is possible for rtc_read_time() to fill struct rtc_time it returns with invalid values, so we have to check for its return value before using returned time. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/poller.c')
0 files changed, 0 insertions, 0 deletions