]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.12-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Aug 2025 08:24:22 +0000 (10:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Aug 2025 08:24:22 +0000 (10:24 +0200)
added patches:
revert-can-ti_hecc-fix-woverflow-compiler-warning.patch

queue-6.12/revert-can-ti_hecc-fix-woverflow-compiler-warning.patch [new file with mode: 0644]
queue-6.12/series

diff --git a/queue-6.12/revert-can-ti_hecc-fix-woverflow-compiler-warning.patch b/queue-6.12/revert-can-ti_hecc-fix-woverflow-compiler-warning.patch
new file mode 100644 (file)
index 0000000..cf1a569
--- /dev/null
@@ -0,0 +1,31 @@
+From 48bad31b56c4428a8463f7256ad6722adf69521e Mon Sep 17 00:00:00 2001
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Date: Fri, 22 Aug 2025 10:21:33 +0200
+Subject: Revert "can: ti_hecc: fix -Woverflow compiler warning"
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+This reverts commit 1da38b70d90f8529c060dd380d0c18e6d9595463 which is
+commit 7cae4d04717b002cffe41169da3f239c845a0723 upstream.
+
+Reported-by: Guenter Roeck <linux@roeck-us.net>
+Link: https://lore.kernel.org/r/63e25fdb-095a-40eb-b341-75781e71ea95@roeck-us.net
+Cc: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
+Cc: Marc Kleine-Budde <mkl@pengutronix.de>
+Cc: Sasha Levin <sashal@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/net/can/ti_hecc.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/net/can/ti_hecc.c
++++ b/drivers/net/can/ti_hecc.c
+@@ -383,7 +383,7 @@ static void ti_hecc_start(struct net_dev
+        * overflows instead of the hardware silently dropping the
+        * messages.
+        */
+-      mbx_mask = ~BIT_U32(HECC_RX_LAST_MBOX);
++      mbx_mask = ~BIT(HECC_RX_LAST_MBOX);
+       hecc_write(priv, HECC_CANOPC, mbx_mask);
+       /* Enable interrupts */
index 8ad1f2de95cfb364d46604c4e92127c1da5a55ed..11b386f4bb065909c97bf1debe12aa617a135b43 100644 (file)
@@ -159,3 +159,4 @@ netfs-fix-unbuffered-write-error-handling.patch
 io_uring-net-commit-partial-buffers-on-retry.patch
 ata-libata-scsi-return-aborted-command-when-missing-sense-and-result-tf.patch
 sched_ext-initialize-built-in-idle-state-before-ops.init.patch
+revert-can-ti_hecc-fix-woverflow-compiler-warning.patch