Re: [PATCH 4/8] hwclock: fix RTC read logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 08/01/2017 09:17 AM, J William Piggott wrote:

 8< ----
> 
> 
> Because the previous fix also ignored the select() branch timeout
> it caused a bogus warning. The chosen workaround for that was to
> only print the select() timeout message in debug mode (this is
> reverted by another patch).

 8< ----

I forgot to mention the problem this caused, which is: the other
functions still exit on a select() timeout ... silently!:

$ hwclock --show
$ hwclock --show --debug
select() to /dev/rtc0 to wait for clock tick timed out...synchronization failed

Not good.


--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux