[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140704121000.608901c9@linux.lan.towertech.it>
Date: Fri, 4 Jul 2014 12:10:00 +0200
From: Alessandro Zummo <a.zummo@...ertech.it>
To: Hyogi Gim <hyogi.gim@....com>
Cc: John Stultz <john.stultz@...aro.org>, rtc-linux@...glegroups.com,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [rtc-linux] [PATCH] drivers/rtc/interface.c: check the error
after __rtc_read_time()
On Fri, 4 Jul 2014 10:22:26 +0900
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>
Acked-by: Alessandro Zummo <a.zummo@...ertech.it>
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
--
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