From: sashiko-bot@kernel.org
To: "Thorsten Blum" <blum@kernel.org>
Cc: linux-rtc@vger.kernel.org,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>
Subject: Re: [PATCH] rtc: sd2405al: Fix BCD encoding of the month
Date: Tue, 24 Nov 2026 13:43:58 +0000 [thread overview]
Message-ID: <sashiko-outbox-231241@kernel.org> (raw)
In-Reply-To: <20261124134110.237481-2-blum@kernel.org>
> The SD2405AL expects a one-based month encoded as BCD, while tm_mon is
> zero-based. Adding 1 after converting tm_mon to BCD incorrectly encodes
> October as 0x0a instead of 0x10.
>
> Add 1 to tm_mon before converting it to BCD.
>
> Fixes: 5af858acea22 ("rtc: Add driver for SD2405AL")
> Signed-off-by: Thorsten Blum <blum@kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124134110.237481-2-blum@kernel.org?part=1
prev parent reply other threads:[~2026-11-24 13:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 13:41 [PATCH] rtc: sd2405al: Fix BCD encoding of the month Thorsten Blum
2026-11-24 13:43 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-231241@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=blum@kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox