From: Greg KH <greg@kroah.com>
To: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Cc: stable@vger.kernel.org, stable-commits@vger.kernel.org,
Marc Kleine-Budde <mkl@pengutronix.de>
Subject: Re: Patch "can: ti_hecc: fix -Woverflow compiler warning" has been added to the 6.15-stable tree
Date: Fri, 22 Aug 2025 10:21:16 +0200 [thread overview]
Message-ID: <2025082256-goliath-boundless-bb22@gregkh> (raw)
In-Reply-To: <CAMZ6RqKtpR3vikvm80h0Tv-SUCP4AU2gmMvn=F=SZMSB1UJTgA@mail.gmail.com>
On Mon, Aug 18, 2025 at 12:54:26PM +0900, Vincent Mailhol wrote:
> Hi Sasha,
>
> On Sun. 17 Aug. 2025 at 22:49, Sasha Levin <sashal@kernel.org> wrote:
> >
> > This is a note to let you know that I've just added the patch titled
> >
> > can: ti_hecc: fix -Woverflow compiler warning
> >
> > to the 6.15-stable tree which can be found at:
> > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> >
> > The filename of the patch is:
> > can-ti_hecc-fix-woverflow-compiler-warning.patch
> > and it can be found in the queue-6.15 subdirectory.
> >
> > If you, or anyone else, feels it should not be added to the stable tree,
> > please let <stable@vger.kernel.org> know about it.
>
> This only silences a compiler warning. There are no actual bugs in the
> original code. This is why I did not put the Fixes tag.
>
> I am not against this being backported to stable but please note that
> this depends on the new BIT_U32() macro which where recently added in
> commit 5b572e8a9f3d ("bits: introduce fixed-type BIT_U*()")
> Link: https://git.kernel.org/torvalds/c/5b572e8a9f3d
>
> So, unless you also backport the above patch, this will not compile.
>
> The options are:
>
> 1. drop this patch (i.e. keep that benin -Woverflow in stable)
> 2. backport the new BIT_U*() macros and keep the patch as-is
> 3. modify the patch as below:
>
> mbx_mask = ~(u32)BIT(HECC_RX_LAST_MBOX);
>
> I'll let you decide what you prefer. That comment also applies to the
> other backports of that patch except for the 6.16.x branch which
> already has the BIT_U*() macros.
Oops, missed this, it broke the build, as you point out, so I'll go drop
it from all older kernels and revert it in 6.12.y now.
thanks,
greg k-h
prev parent reply other threads:[~2025-08-22 8:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250817134901.2350637-1-sashal@kernel.org>
2025-08-18 3:54 ` Patch "can: ti_hecc: fix -Woverflow compiler warning" has been added to the 6.15-stable tree Vincent Mailhol
2025-08-22 8:21 ` Greg KH [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=2025082256-goliath-boundless-bb22@gregkh \
--to=greg@kroah.com \
--cc=mailhol.vincent@wanadoo.fr \
--cc=mkl@pengutronix.de \
--cc=stable-commits@vger.kernel.org \
--cc=stable@vger.kernel.org \
/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