From 8f22412cf83056b6bb2cc704e4cc664fc091e405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Wed, 3 Sep 2025 10:58:18 +0200 Subject: [PATCH] Revert "Revert kernel patch breaking 6.12.43 build for Tinker (#4257)" (#4277) This reverts commit 194b9146f4b4a0506e73bee61ec928354b5528b6. Stable commit eb0abacdd3fce5a19fffc1c8bd0be6ffffeb59d8 in v6.12.44 does the same. --- ..._hecc-fix-Woverflow-compiler-warning.patch | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 buildroot-external/board/asus/tinker/patches/linux/0009-Revert-can-ti_hecc-fix-Woverflow-compiler-warning.patch diff --git a/buildroot-external/board/asus/tinker/patches/linux/0009-Revert-can-ti_hecc-fix-Woverflow-compiler-warning.patch b/buildroot-external/board/asus/tinker/patches/linux/0009-Revert-can-ti_hecc-fix-Woverflow-compiler-warning.patch deleted file mode 100644 index bbdf846e7..000000000 --- a/buildroot-external/board/asus/tinker/patches/linux/0009-Revert-can-ti_hecc-fix-Woverflow-compiler-warning.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 1ce3a9bcf0b0b69e62411879113d83452c1b859e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= -Date: Thu, 28 Aug 2025 10:34:56 +0200 -Subject: [PATCH] Revert "can: ti_hecc: fix -Woverflow compiler warning" -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This reverts commit 1da38b70d90f8529c060dd380d0c18e6d9595463. - -There is no BIT_U32 in 6.12.y, the patch was incorrectly applied to 6.12 -series. - -Link: https://lore.kernel.org/stable/63e25fdb-095a-40eb-b341-75781e71ea95@roeck-us.net/ -Signed-off-by: Jan Čermák ---- - drivers/net/can/ti_hecc.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/net/can/ti_hecc.c b/drivers/net/can/ti_hecc.c -index e6d6661a908ab..644e8b8eb91e7 100644 ---- 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_device *ndev) - * 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 */