Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1503785 > unrolled thread

Re: [PATCH v3] rtc-cmos: Reject unsupported alarm values

Started byAlexandre Belloni <alexandre.belloni@free-electrons.com>
First post2016-10-19 17:00 +0200
Last post2016-10-19 17:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3] rtc-cmos: Reject unsupported alarm values Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-10-19 17:00 +0200

#1503785 — Re: [PATCH v3] rtc-cmos: Reject unsupported alarm values

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2016-10-19 17:00 +0200
SubjectRe: [PATCH v3] rtc-cmos: Reject unsupported alarm values
Message-ID<su0vx-2D0-49@gated-at.bofh.it>
Hi,

On 04/10/2016 at 00:50:28 +0200, Gabriele Mazzotta wrote :
> Some platforms allows to specify the month and day of the month in
> which an alarm should go off, some others the day of the month and
> some others just the time.
> 
> Currently any given value is accepted by the driver and only the
> supported fields are used to program the hardware. As consequence,
> alarms are potentially programmed to go off in the wrong moment.
> 
> Fix this by rejecting any unsupported value.
> 
> Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
> ---
>  drivers/rtc/rtc-cmos.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 72 insertions(+)
> 

Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web