All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thorsten Blum <blum@kernel.org>
To: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] macintosh/smu: Fix BCD encoding of the RTC month
Date: Tue, 24 Nov 2026 23:32:21 +0100	[thread overview]
Message-ID: <awYQdVRAcrE8JnM8@kernel.org> (raw)
In-Reply-To: <5ab4fc02-b15b-4989-a92d-3e053e89ce51@kernel.org>

On Tue, Nov 24, 2026 at 07:06:39PM +0100, Christophe Leroy (CS GROUP) wrote:
> Le 24/11/2026 à 16:46, Christophe Leroy (CS GROUP) a écrit :
> > Le 24/11/2026 à 14:23, Thorsten Blum a écrit :
> > > The SMU 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: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> 
> The real origin is commit faa5ee3743ff ("[PATCH] ppc64: Add basic support
> for the SMU chip in iMac G5")
> 
> Found on repository https://github.com/mpe/linux-fullhistory.git

Thanks for the review and for digging this up.

IIRC, we keep the Fixes: tag pointing to the initial git commit rather
than referencing a commit that predates the history, don't we?


      reply	other threads:[~2026-11-24 22:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 13:23 [PATCH] macintosh/smu: Fix BCD encoding of the RTC month Thorsten Blum
2026-11-24 15:46 ` Christophe Leroy (CS GROUP)
2026-11-24 18:06   ` Christophe Leroy (CS GROUP)
2026-11-24 22:32     ` Thorsten Blum [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=awYQdVRAcrE8JnM8@kernel.org \
    --to=blum@kernel.org \
    --cc=chleroy@kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=mpe@ellerman.id.au \
    --cc=npiggin@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.