[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161019074118.zyqgfa672wkvl7dm@piout.net>
Date: Wed, 19 Oct 2016 09:41:18 +0200
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Gabriele Mazzotta <gabriele.mzt@...il.com>
Cc: a.zummo@...ertech.it, rtc-linux@...glegroups.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] rtc-cmos: Reject unsupported alarm values
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@...il.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
Powered by blists - more mailing lists