From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752088AbdFTQIv (ORCPT ); Tue, 20 Jun 2017 12:08:51 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:36391 "EHLO mail-io0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751052AbdFTQIu (ORCPT ); Tue, 20 Jun 2017 12:08:50 -0400 MIME-Version: 1.0 In-Reply-To: <1497951359-13334-35-git-send-email-benjamin.gaignard@linaro.org> References: <1497951359-13334-1-git-send-email-benjamin.gaignard@linaro.org> <1497951359-13334-35-git-send-email-benjamin.gaignard@linaro.org> From: Linus Walleij Date: Tue, 20 Jun 2017 18:08:48 +0200 Message-ID: Subject: Re: [PATCH 34/51] rtc: pl031: stop using rtc deprecated functions To: Benjamin Gaignard Cc: linaro-kernel , Alessandro Zummo , Alexandre Belloni , "rtc-linux@googlegroups.com" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 20, 2017 at 11:35 AM, Benjamin Gaignard 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 > CC: Linus Walleij > CC: Alessandro Zummo > CC: Alexandre Belloni > CC: rtc-linux@googlegroups.com > CC: linux-kernel@vger.kernel.org > CC: linux-arm-kernel@lists.infradead.org Acked-by: Linus Walleij Yours, Linus Walleij From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mail-io0-x230.google.com (mail-io0-x230.google.com. [2607:f8b0:4001:c06::230]) by gmr-mx.google.com with ESMTPS id 81si1267167ith.1.2017.06.20.09.08.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 09:08:49 -0700 (PDT) Received: by mail-io0-x230.google.com with SMTP id t87so87606106ioe.0 for ; Tue, 20 Jun 2017 09:08:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1497951359-13334-35-git-send-email-benjamin.gaignard@linaro.org> References: <1497951359-13334-1-git-send-email-benjamin.gaignard@linaro.org> <1497951359-13334-35-git-send-email-benjamin.gaignard@linaro.org> From: Linus Walleij Date: Tue, 20 Jun 2017 18:08:48 +0200 Message-ID: Subject: [rtc-linux] Re: [PATCH 34/51] rtc: pl031: stop using rtc deprecated functions To: Benjamin Gaignard Cc: linaro-kernel , Alessandro Zummo , Alexandre Belloni , "rtc-linux@googlegroups.com" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , On Tue, Jun 20, 2017 at 11:35 AM, Benjamin Gaignard 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 > CC: Linus Walleij > CC: Alessandro Zummo > CC: Alexandre Belloni > CC: rtc-linux@googlegroups.com > CC: linux-kernel@vger.kernel.org > CC: linux-arm-kernel@lists.infradead.org Acked-by: Linus Walleij Yours, Linus Walleij -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: linus.walleij@linaro.org (Linus Walleij) Date: Tue, 20 Jun 2017 18:08:48 +0200 Subject: [PATCH 34/51] rtc: pl031: stop using rtc deprecated functions In-Reply-To: <1497951359-13334-35-git-send-email-benjamin.gaignard@linaro.org> References: <1497951359-13334-1-git-send-email-benjamin.gaignard@linaro.org> <1497951359-13334-35-git-send-email-benjamin.gaignard@linaro.org> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jun 20, 2017 at 11:35 AM, Benjamin Gaignard 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 > CC: Linus Walleij > CC: Alessandro Zummo > CC: Alexandre Belloni > CC: rtc-linux at googlegroups.com > CC: linux-kernel at vger.kernel.org > CC: linux-arm-kernel at lists.infradead.org Acked-by: Linus Walleij Yours, Linus Walleij