Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1670907

Re: [PATCH 07/51] rtc: ab8500: stop using rtc deprecated functions

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 07/51] rtc: ab8500: stop using rtc deprecated functions
Date 2017-06-20 18:10 +0200
Message-ID <tUtT3-2pP-7@gated-at.bofh.it> (permalink)
References <tUnNE-6PZ-15@gated-at.bofh.it> <tUo70-6Xh-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 20, 2017 at 11:35 AM, Benjamin Gaignard
<benjamin.gaignard@linaro.org> wrote:

> rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they
> rely on 32bits variables and that will make rtc break in y2038/2016.
> Stop using those two functions to safer 64bits ones.
>
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
> CC: Linus Walleij <linus.walleij@linaro.org>
> CC: Alessandro Zummo <a.zummo@towertech.it>
> CC: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> CC: rtc-linux@googlegroups.com
> CC: linux-kernel@vger.kernel.org
> CC: linux-arm-kernel@lists.infradead.org

Looks fine.
Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 07/51] rtc: ab8500: stop using rtc deprecated functions Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-06-20 12:00 +0200
  Re: [PATCH 07/51] rtc: ab8500: stop using rtc deprecated functions Linus Walleij <linus.walleij@linaro.org> - 2017-06-20 18:10 +0200
  Re: [PATCH 07/51] rtc: ab8500: stop using rtc deprecated functions kbuild test robot <lkp@intel.com> - 2017-06-21 09:00 +0200

csiph-web