From: Alessandro Zummo <a.zummo@towertech.it>
To: Hyogi Gim <hyogi.gim@lge.com>
Cc: John Stultz <john.stultz@linaro.org>,
rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org,
akpm@linux-foundation.org
Subject: Re: [rtc-linux] [PATCH] drivers/rtc/interface.c: check the error after __rtc_read_time()
Date: Fri, 4 Jul 2014 12:10:00 +0200 [thread overview]
Message-ID: <20140704121000.608901c9@linux.lan.towertech.it> (raw)
In-Reply-To: <1404436946-28354-1-git-send-email-hyogi.gim@lge.com>
On Fri, 4 Jul 2014 10:22:26 +0900
Hyogi Gim <hyogi.gim@lge.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@lge.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
next prev parent reply other threads:[~2014-07-04 10:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-04 1:22 [PATCH] drivers/rtc/interface.c: check the error after __rtc_read_time() Hyogi Gim
2014-07-04 10:10 ` Alessandro Zummo [this message]
2014-07-30 17:44 ` John Stultz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140704121000.608901c9@linux.lan.towertech.it \
--to=a.zummo@towertech.it \
--cc=akpm@linux-foundation.org \
--cc=hyogi.gim@lge.com \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rtc-linux@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).