Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1894686pxp; Thu, 10 Mar 2022 14:29:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhkMJGHl5HpqFgZNzTX523ABrPP/ld9Z+oJgbu+pTT+1TNL0/6ePi+b785kIyBOi/6WxK8 X-Received: by 2002:a17:907:971c:b0:6d6:e503:131b with SMTP id jg28-20020a170907971c00b006d6e503131bmr5989522ejc.121.1646951343475; Thu, 10 Mar 2022 14:29:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646951343; cv=none; d=google.com; s=arc-20160816; b=aSWkw7e6LnXyJvZGBzHbBUqD4d/bEny/7WfqzfJdE8TF7rUpT0e+f4k3zp9bFTh123 wbKhqD8du7uxxJncTOckp5f1Pa7IWSDTTl9GcgGWHvkMj/VZuWxbt/TDc/TMXFIAEObz 1CQfpoNvzF4HIfKOAwaoVg1yQKxlQfhWJoSydaNXIjXXlwx7iBJ+GPISK3IlAuIK5B4+ mdW4bWEwi+3iAh22LW2jKw27edOuyzgP+uW/22bUKHna+ryeT8ZYx+V84q6kpGI0gzcm 9rbSvYlR7QUxrhalzp6br1P/NB0QtTcj780DXhVGNRZuwU6iLy1GCeDOJNPbDWfxlxFO YO2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yjd2ThEm3zd0tdYH3BroVF2CLX+6/0fXl/qPcVH3kk0=; b=n+LWAlzzDbymJx7dBjTtHD/3tRcXPBKK4DCzp5EpIaKYl5ZzaIMJqprw+aTz5/4BWX w79RhNxi6/NKODK2r48mvs1vGYPSvlbUtgPhPwa6jv6ZlT3jGJJ89ho7hWS1BoMDb9jQ zRuhjqaC1jyQnhkeW5PBHvKjkCfxnNHwKCQKE8wsfExvV0+57T+JzP+ZKtpx9N61qnX7 K6n6NvSDJR1VpQIhiTsu2iCynFELq2HWqdn2EY2qz6rOFOAc8TKCE3FHHdsYz97Xjc94 e7qXYAPz6bXMYTdzOf6OKNehhL4TsNqr8mFp9ajHBwiIaOJwXjFHmm640exCOVS84MGm DFxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=atv8URor; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa27-20020a1709076d1b00b006cf03cd072bsi4603131ejc.992.2022.03.10.14.28.39; Thu, 10 Mar 2022 14:29:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=atv8URor; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239253AbiCJDaB (ORCPT + 99 others); Wed, 9 Mar 2022 22:30:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233019AbiCJD37 (ORCPT ); Wed, 9 Mar 2022 22:29:59 -0500 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8615F128DDC; Wed, 9 Mar 2022 19:28:58 -0800 (PST) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-2db2add4516so44842637b3.1; Wed, 09 Mar 2022 19:28:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yjd2ThEm3zd0tdYH3BroVF2CLX+6/0fXl/qPcVH3kk0=; b=atv8URorMFWVm7W/JbnBT43c4H/k3qoUj57eppDjHGR3aqIM+tNa0Nz1UfBYTZwn9I UqMHfRuLZpphvQAoeWZc2Bf3XnF/Yok43C7cooMQaiVQHPt4QL5BMx+gCezBteol7uC2 DUcLCT2Gt4RNqmOwfaJ08DTkh8Xd16v8Noogn0pHMlCcFFWRU6jqpv1lXFXZ+QJx1kAO UKpSUdVkBzBzT28pE3os4dW4e2d8B7oxraaCb+ldm/SYdXrT1ZKKr72mI8+AGN8ojq/g Cpr3BxezQi8xPZfgz5LU2rePQj+QWzxMiC7kdqc2SWMc086F/wK+HyI5w2728N1997KA J5mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yjd2ThEm3zd0tdYH3BroVF2CLX+6/0fXl/qPcVH3kk0=; b=nQfxIKn25oAYiVQotPb4f+WkpYVS2lLyZBM+3q65+6IHvyEAqpbtaTKWQwj58UjbOG UfVGdTwMIYqzT8oqaItHJca3vmbAVblzqMPumCTo2qSQzg0X6rGUmJOKrkCadGyxtfa6 Upy+i1qp3Flc8NXmYMD4Fx+ZRmj01mIzSpbb75xMAOV2M4ll0qL0StO7nivD2pyzJ+He Cew1FM33l9yV8/zk8wSqgWsGCESkSYm5pxOmECkPnhfgInUZvrhKC/76yKXiRgOWYk+q oUHfVnvaheKLojMOPTG71k+c68NWK5ZcGkxsXzvpD0c9fRotO0OtCCDZnk013+cAGZls vghw== X-Gm-Message-State: AOAM530pf3gC5krrWrR5TmtQ+gCc0cd3K3Qm5QcuHoMycOBOzFYkkv14 h2jm56fWCh3IylE371Y8AJmbVTHOJaHQoklyRXYVxAw6y7I= X-Received: by 2002:a81:500a:0:b0:2dc:31bb:d11e with SMTP id e10-20020a81500a000000b002dc31bbd11emr2408106ywb.456.1646882937716; Wed, 09 Mar 2022 19:28:57 -0800 (PST) MIME-Version: 1.0 References: <20220309162301.61679-1-alexandre.belloni@bootlin.com> <20220309162301.61679-19-alexandre.belloni@bootlin.com> In-Reply-To: <20220309162301.61679-19-alexandre.belloni@bootlin.com> From: Viresh Kumar Date: Thu, 10 Mar 2022 08:58:46 +0530 Message-ID: Subject: Re: [PATCH 19/29] rtc: spear: set range To: Alexandre Belloni Cc: Alessandro Zummo , linux-rtc@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 9, 2022 at 10:26 PM Alexandre Belloni wrote: > > While the RTC can store dates from year 0000 to 9999, leap years where not > tested fro 2100. The driver currently stores tm_year directly which will from* > probably fail at that time or more probably in 2300. > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/rtc-spear.c | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Viresh Kumar