From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5D17C433EF for ; Tue, 26 Apr 2022 07:29:57 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BC7928186D; Tue, 26 Apr 2022 09:29:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=walle.cc header.i=@walle.cc header.b="ODRKs3q3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 359DD807DF; Tue, 26 Apr 2022 09:29:54 +0200 (CEST) Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EF66583D9C for ; Tue, 26 Apr 2022 09:29:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@walle.cc Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 3F4212223A; Tue, 26 Apr 2022 09:29:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1650958190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u5XBV+rn6cgWG8ECFDIeXa+3Ru6D5ko3I1EOkMDdtq0=; b=ODRKs3q3/VNsgOXIcTHRhUyTxoCM8EOOxCY6b6N/V2nrgvjvhvEDiKM3kH5t4MAJHt2foD K9JjRZzpgRVk6a5pesAynqPcWhWwja4rgty8tNw09MDPd0mtOGBa8c+nK9VgJimODk3fNf awVt0upNdNVW7+1Z6haYoiNCEylvSAQ= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 26 Apr 2022 09:29:50 +0200 From: Michael Walle To: Oliver Graute Cc: sjg@chromium.org, hs@denx.de, u-boot@lists.denx.de Subject: Re: [PATCH v1] rtc: rv8803: fix off-by-one in month counting In-Reply-To: <20220426072612.13223-1-oliver.graute@kococonnector.com> References: <20220426072612.13223-1-oliver.graute@kococonnector.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <0e6dc4a632f4abe61552ffd8608cca8f@walle.cc> X-Sender: michael@walle.cc X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Am 2022-04-26 09:26, schrieb Oliver Graute: > tm_mon has a range from 0..11, but the RTC expects 1..12. So we adapt > the month accordingly. This was determined when comparing the driver > with the corresponding linux kernel driver. > > Signed-off-by: Oliver Graute Reviewed-by: Michael Walle -michael