[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALAqxLVckQnDUBTS2JQJSwA7FFjH4dn5HtNB6ZOaj-U3-0EqOg@mail.gmail.com>
Date: Wed, 30 Jul 2014 10:44:43 -0700
From: John Stultz <john.stultz@...aro.org>
To: Hyogi Gim <hyogi.gim@....com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
"rtc-linux@...glegroups.com" <rtc-linux@...glegroups.com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drivers/rtc/interface.c: check the error after __rtc_read_time()
On Thu, Jul 3, 2014 at 6:22 PM, Hyogi Gim <hyogi.gim@....com> wrote:
> In __rtc_set_alarm(), the error after __rtc_read_time() is not checked.
> If rtc device fail to read time, we cannot guarantee the following process.
>
> Add the verification code for returned __rtc_read_time() error.
>
> Signed-off-by: Hyogi Gim <hyogi.gim@....com>
Thanks for sending this in. Sorry I didn't get to it earlier. I've got
it queued for testing and hopefully will make it for 3.17 (but I may
be cutting it close).
thanks
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists