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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 07/51] rtc: ab8500: stop using rtc deprecated functions
Date Tue, 20 Jun 2017 18:10:01 +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>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=25Mqkuq3M8YJE6Ek89IGNrjrRE2gQ8cqL6MW3m4+/Kk=; b=JOc6GEpiprDwjV0F1xJd0HVfo2476p74VT849w2QuWxaz/h+1EJfOZlutkgSdm6UeN bZ9VkWSdmYb2In9wT87jBZiYWaweHKpV2kfwUrm91whp34JKU5g2Lpsn8uZ0I9BmWrA6 B2nO5TxQUx1Mn+naKUjCl5za6xSth8aePUIr0=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=25Mqkuq3M8YJE6Ek89IGNrjrRE2gQ8cqL6MW3m4+/Kk=; b=aP8KFzb1mUHQWeoaxAfPcCLbzoC1bJrCJGSv0ivRkUxuYWqiOPazkU5KvLeeq9/Bay pkKaonUWaochYIKzHs1ccMpM5K/U/FCMizYZAjAZCg7gwQUMtC+rTqas9fmnXY3YENJE HA6pKRO+tqgdjRAdN46zQ5pdnNjFlgL1blEXL/CsasSi8aL5j7VLJlKAN6pNa1I/mQHM Ns1W5l+MjiC53xpDk0y4TaIk8ErUkWhjGamtOJEQ9wM0llT9XMNIwdhClmwQm1H+rQIC E+dnuoa8g15CkiteMfym0lCdqZ94mnLxmD4I1syBDVrD3a1F7iCwHdaNBhLQLo7T94B4 lCuQ==
X-Gm-Message-State AKS2vOwO4ASrhiRlE+uQYPghxs7RpY+tRrj5WbGe2b6fAnjZQ682oITT 0dZ4yuw/PXBap2duwXVXQSeF6+5cZkrk
X-Received by 10.107.151.140 with SMTP id z134mr29842169iod.83.1497974767286; Tue, 20 Jun 2017 09:06:07 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 20
Organization linux.* mail to news gateway
X-Original-Cc linaro-kernel <linaro-kernel@lists.linaro.org>, Alessandro Zummo <a.zummo@towertech.it>, Alexandre Belloni <alexandre.belloni@free-electrons.com>, "rtc-linux@googlegroups.com" <rtc-linux@googlegroups.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>
X-Original-Date Tue, 20 Jun 2017 18:06:06 +0200
X-Original-Message-ID <CACRpkdbBu2y4F2hOYmM9Wn1Y4k0R9yh1AC+4_6kqrYb6dgnnqg@mail.gmail.com>
X-Original-References <1497951359-13334-1-git-send-email-benjamin.gaignard@linaro.org> <1497951359-13334-8-git-send-email-benjamin.gaignard@linaro.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1670907

Show key headers only | 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