Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp419147imm; Wed, 13 Jun 2018 02:35:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJq1cykyGTriqsgPA8sYkQH3OzYESiaD/F0aSmUY21tE2PVmRUJFsMtuxpAgvTKgW4aG62R X-Received: by 2002:a17:902:758e:: with SMTP id j14-v6mr4271871pll.160.1528882510154; Wed, 13 Jun 2018 02:35:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528882510; cv=none; d=google.com; s=arc-20160816; b=sPyg4REaqczSGR4BQxJHelHdttHlydbxX+X7PCPxXHbix2dLXJiSzlSqBgs95fWHF9 ZniuADXlxh3BzIEUXjC8ghcjTJi69bhi8+XByHRtCOQ4C48xkrEe3QuCNRPXJtnyGXn2 664s9Z7GnkiMjmkcavTmm7Pcwmt2QJpCXp5Iqd/vlwqC6y0nv0WETzIvCn60xzxfkH0y cWE/+4S3ZuD5FQJDmkwtJeSJhwER3Q3U/h76B3OQychoWaQ1tbpXpMsRON4j4OTuM3ZX 4LPX3pzY2Ronn/5n5kVE0jKaFZn1OYmNYImg2cSTH0hyr31ZnnbWz55gwFPo5uaiVtu2 U6Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=pz6hVnzdNOiIbXnebnfIGD9gWMg3c0Uck2Qkhe6fWsA=; b=hfBy/NZ4oTMcXoSEpnK/Mp9+P3UhsvSbeT28DQhajQDIjQH8KfDvWW1tH26LsM2TDq hlQ5E0eS3GyKufoQC2QC6RCKf+m9z0OyzmHat52iCUvC1+r+7ZQ/e2D6i6sW/l66brHg 5PQ8HAUvIvIYcnWXJNwVmb7tbplFo1Jz6GcNJCUIJ46H2bwRvSdgXK1/WfFvQfCKcAvG q4kFXNUAjKmMbE132WIWpJEUVlzJpQRVj3GcYsjJ0zoK0NuKutVDj9lqtjuHCWeL/Csb wHUZa+NexjbLkMXNpSMA+MSOwRKygZlTT/2pgsYpKYqDKbkzgII0xUXo8WV9XIBCM5sn PBkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JDpjX/KE"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d31-v6si2467584pld.23.2018.06.13.02.34.55; Wed, 13 Jun 2018 02:35:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JDpjX/KE"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1754624AbeFMJIN (ORCPT + 99 others); Wed, 13 Jun 2018 05:08:13 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:34293 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754522AbeFMJIL (ORCPT ); Wed, 13 Jun 2018 05:08:11 -0400 Received: by mail-io0-f194.google.com with SMTP id e15-v6so2703607iog.1 for ; Wed, 13 Jun 2018 02:08:11 -0700 (PDT) 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=pz6hVnzdNOiIbXnebnfIGD9gWMg3c0Uck2Qkhe6fWsA=; b=JDpjX/KEKeBEuiIzBLbih+X9f52tTcia5wPcCanBTDawyCwUrgoTNhq3oxgxgv/os8 aDDH9k/2MkVMuOiVXDMTojWt3dsBwQ/JWufY4P2LBAj30wK6SNgvKqChs4Y5V2dMEhib JwIfzw6mBFCFnCXgoAF+TxGhNyvR2q8NIFQD0= 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=pz6hVnzdNOiIbXnebnfIGD9gWMg3c0Uck2Qkhe6fWsA=; b=jR4lz5zEu+DgRecHuoySVhVEr3fe/OERgTk2FWatjy95KT3IjP6JG0z3h+o2tjWllS bzId0VT39vtEsusBuXkq4pFTAEmGzzpTy+Dsg4coKa/TTS8cwuMtmy4tgJbnzZmTrYox sjHtBpVC0JK+6/lae3riylknxRy1Gc1BA74KcdjEj8SCs69Oi9Narbvy2O9xMXOtXNyu t+CZezh+EBwSmXerFGFgSXhtPJL3li8v18fzcvDPL3IeoH9+JLvWjgNDnM5++UTAPXmG 4raDxHsATAGxZqaOOzHmXjdGt6B2viWol0JIlfuX3C6+LR9WfjGEgkWttLOOnmHRCuom robA== X-Gm-Message-State: APt69E3aHjUIV+YOpl1D7KaQ2ESVXfvyEl6L6H108bIeeCZQydSEoRgC dzIO8cskDvnYsa+GcCbTtiN6TaHDNvYfUFSFNsqCCQ== X-Received: by 2002:a6b:106:: with SMTP id 6-v6mr3879669iob.175.1528880891069; Wed, 13 Jun 2018 02:08:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:78c9:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 02:08:10 -0700 (PDT) In-Reply-To: <20180604141528.15635-2-alexandre.belloni@bootlin.com> References: <20180604141528.15635-1-alexandre.belloni@bootlin.com> <20180604141528.15635-2-alexandre.belloni@bootlin.com> From: Linus Walleij Date: Wed, 13 Jun 2018 11:08:10 +0200 Message-ID: Subject: Re: [PATCH 2/3] rtc: ftrtc010: handle dates after 2106 To: Alexandre Belloni Cc: linux-rtc@vger.kernel.org, "linux-kernel@vger.kernel.org" , Hans Ulli Kroll , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 4, 2018 at 4:15 PM, Alexandre Belloni wrote: > Use correct types for offset and time and use > rtc_time64_to_tm/rtc_tm_to_time64 to handle dates after 2106 properly. > > Signed-off-by: Alexandre Belloni Acked-by: Linus Walleij Yours, Linus Walleij