Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1671538
| From | Russell King - ARM Linux <linux@armlinux.org.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 00/51] rtc: stop using rtc deprecated functions |
| Date | 2017-06-21 11:30 +0200 |
| Message-ID | <tUK7x-4ih-47@gated-at.bofh.it> (permalink) |
| References | <tUz2p-5x0-13@gated-at.bofh.it> <tUzvt-5W2-39@gated-at.bofh.it> <tUIIq-3hT-11@gated-at.bofh.it> <tUJl7-3Kj-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 21, 2017 at 10:39:07AM +0200, Alexandre Belloni wrote: > On 21/06/2017 at 09:51:52 +0200, Pavel Machek wrote: > > If someone uses different threshold, well, there will be > > confusion. But only for users that have their rtc set to the past, > > which is quite unusual. > > > > Or not, having an RTC set in the past is actually quite common. I'd find > it weird to have a new device boot and be set to a date in the future. ... and that basically means you can't use hardware that stores RTC time as a 32-bit number of seconds past 2106. > Also note that the threshold or offset thing may seem like a good idea > but fails with many RTCs because of how they handle leap years. Not for the case being discussed. A 32-bit counter of seconds knows nothing about leap years - all that is handled by the conversion functions. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-20 23:40 +0200
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Thomas Gleixner <tglx@linutronix.de> - 2017-06-21 00:10 +0200
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-06-21 00:50 +0200
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Pavel Machek <pavel@ucw.cz> - 2017-06-21 10:00 +0200
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-21 10:40 +0200
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-06-21 11:30 +0200
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-21 11:50 +0200
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Pavel Machek <pavel@ucw.cz> - 2017-06-21 13:40 +0200
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-21 14:40 +0200
Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Pavel Machek <pavel@ucw.cz> - 2017-06-21 20:10 +0200
csiph-web