All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Sylvain Chouleur <sylvain.chouleur@intel.com>
Cc: rtc-linux@googlegroups.com
Subject: Re: [rtc-linux] [PATCH] Support of century in rtc-cmos
Date: Tue, 11 Aug 2015 20:01:44 +0200	[thread overview]
Message-ID: <20150811180144.GV3411@piout.net> (raw)
In-Reply-To: <87lhfur0sw.fsf@schouleu-mobl1.ger.corp.intel.com>

On 08/06/2015 at 11:45:19 +0200, Sylvain Chouleur wrote :
> If century field is supported by the RTC CMOS device, then we should use
> it and then do not consider years greater that 169 as an error.
> 
> For information, the year field of the rtc_time structure contains the
> value to add to 1970 to obtain the current year.
> 
> This was a hack to be able to support years for 1970 to 2069.
> This patch remains compatible with this implementation.
> 
> Change-Id: I24af7eabf8efc9043092ad04e61ba69cb761000e
> Signed-off-by: Sylvain Chouleur <sylvain.chouleur@intel.com>
> ---
>  include/asm-generic/rtc.h | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
Applied, thanks.

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

      reply	other threads:[~2015-08-11 18:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08  9:45 [rtc-linux] [PATCH] Support of century in rtc-cmos Sylvain Chouleur
2015-08-11 18:01 ` Alexandre Belloni [this message]

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=20150811180144.GV3411@piout.net \
    --to=alexandre.belloni@free-electrons.com \
    --cc=rtc-linux@googlegroups.com \
    --cc=sylvain.chouleur@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.