Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1249489
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v1 1/4] rtc: pcf2127: fix reading uninitialized value on RTC_READ_VL ioctl |
| Date | 2015-10-18 02:20 +0200 |
| Message-ID | <qkJRD-5a1-1@gated-at.bofh.it> (permalink) |
| References | <qf4Fr-7v7-3@gated-at.bofh.it> <qf4Fs-7v7-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 02/10/2015 at 11:17:19 +0200, Uwe Kleine-König wrote : > The flag reported on the RTC_READ_VL ioctl is only initialized when the > date is read out. So the voltage low value doesn't represent reality but > the status at the time the date was read (or 0 if the date was not read > yet). > > Moreover when userspace requests a value via an ioctl there is no added > benefit to also make a prosa representation of this (and other) values > appear in the kernel log so remove the calls to dev_info and the driver > data members to track their state. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v1 1/4] rtc: pcf2127: fix reading uninitialized value on RTC_READ_VL ioctl Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-10-18 02:20 +0200
csiph-web