From nobody Tue Oct 7 06:57:51 2025 Received: from out.smtpout.orange.fr (out-72.smtpout.orange.fr [193.252.22.72]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3079189B80; Sun, 13 Jul 2025 08:04:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.252.22.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752393888; cv=none; b=mx/mL7IY0iTPO8c9rIr5dJRjzLVQKYS7KPSMr8mtC0Bv3y2vm2QZdJt3+EGHhteFXrJfTBMKbFVvtlos60Aarv81ITmAN/XONV4OGKbubNKvF6+ogxA/A84qUxzV9Cp0Yw03ndIEqPyBfnVPyxV8xhTxG1j0N5LJTJA8MfjUqTg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752393888; c=relaxed/simple; bh=u+wWC3/DzZTGABh9YY/C+ERaQcTmDqogs0K00hiDc9k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HA/i01H8tNBXXC5MTol+RMXu0YAiQmOUIdtc1+0p4JZxlkTRPZi2Jrm54iQT+RUfygYKFaOQ42XhTkZCDft8g8SxEYEWlpPx2h4iJwEnwbsdsjxjwZkYhu0IUpiU63eFDbkumM3rVp6AWq1UXxIPh0hWbRKGOkNkI7P9Yo4ISkg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=URR7xIWU; arc=none smtp.client-ip=193.252.22.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="URR7xIWU" Received: from [172.16.82.72] ([124.33.176.97]) by smtp.orange.fr with ESMTPA id arfyuJE25DfrTargMuRCIh; Sun, 13 Jul 2025 10:03:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1752393816; bh=GgTPVK+rkm4R0WLYzeG2cjIOMr6ZRnv+/aEAV0K4FCE=; h=From:Date:Subject:MIME-Version:Message-Id:To; b=URR7xIWUSPXvZaIsVFxiPSWPvmyCrGwub0EIM/SGj/4wawJGaijG8EVQtPUW6oj9p rhRVgMBcmQVp3coyuvQDjO+DdXWvDHBkwkevxMx+r2GEjJFkEDMs3qQDXlBLoGqJnX GQxexcqmgy9b6XUeKUpdIZeRsiLqKBRfjh0Tiy1ZvPYn3Q26L73guuRmWED6e4YVor Hf5p9rxqvpXi9uKhDBXcZrPoO/5JIsHBf8cKhDYdotSSJwk7Y24Jj4cVa15FzTguCn nlGFOrEwhkLOTeUgbD02YPTiIFPxJlT7Nvc6AGM1o5ZwdcWVjj3YZW0aGO90Xw3XNs kHtY/kvfaj/qA== X-ME-Helo: [172.16.82.72] X-ME-Auth: bWFpbGhvbC52aW5jZW50QHdhbmFkb28uZnI= X-ME-Date: Sun, 13 Jul 2025 10:03:36 +0200 X-ME-IP: 124.33.176.97 From: Vincent Mailhol Date: Sun, 13 Jul 2025 17:02:43 +0900 Subject: [PATCH 1/3] can: ti_hecc: fix -Woverflow compiler warning Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250713-can-compile-test-v1-1-b4485e057375@wanadoo.fr> References: <20250713-can-compile-test-v1-0-b4485e057375@wanadoo.fr> In-Reply-To: <20250713-can-compile-test-v1-0-b4485e057375@wanadoo.fr> To: Marc Kleine-Budde Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Mailhol X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1077; i=mailhol.vincent@wanadoo.fr; h=from:subject:message-id; bh=u+wWC3/DzZTGABh9YY/C+ERaQcTmDqogs0K00hiDc9k=; b=owGbwMvMwCV2McXO4Xp97WbG02pJDBnFGV75IdonH19yMC69ZOkYoCnsdzebUeewZImUwrJdS nc4lpZ2lLIwiHExyIopsiwr5+RW6Cj0Djv01xJmDisTyBAGLk4BmMjT64wM73ROzJ6n2VHpu5Nb 60vllROPpbO5+/uL1qv59L170LthF8N/V8Z7F5QCRU81Gz53yjw8/bSVT8aWjd/7Z0QG2eU3f9F lBQA= X-Developer-Key: i=mailhol.vincent@wanadoo.fr; a=openpgp; fpr=ED8F700574E67F20E574E8E2AB5FEB886DBB99C2 Fix below default (W=3D0) warning: drivers/net/can/ti_hecc.c: In function 'ti_hecc_start': drivers/net/can/ti_hecc.c:386:20: warning: conversion from 'long unsigned= int' to 'u32' {aka 'unsigned int'} changes value from '1844674407370955159= 9' to '4294967279' [-Woverflow] 386 | mbx_mask =3D ~BIT(HECC_RX_LAST_MBOX); | ^ Signed-off-by: Vincent Mailhol --- 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 644e8b8eb91e74eec050841491f20d3e6796e9b7..e6d6661a908ab12eb4c7ec61c16= 2848c18ef20f4 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 =3D ~BIT(HECC_RX_LAST_MBOX); + mbx_mask =3D ~BIT_U32(HECC_RX_LAST_MBOX); hecc_write(priv, HECC_CANOPC, mbx_mask); =20 /* Enable interrupts */ --=20 2.49.1 From nobody Tue Oct 7 06:57:51 2025 Received: from out.smtpout.orange.fr (out-72.smtpout.orange.fr [193.252.22.72]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 184661E5729; Sun, 13 Jul 2025 08:04:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.252.22.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752393891; cv=none; b=D0z0x8Mgm7jBVWlORev+5BMgCBt/+RsNm79GJUpMLkTsAEWAopoj7gEftwIedVCn7AoxLu3cNUbW8RymJGkJPanTZOqEiB9oQIyyNEvJcxweD6fjyaWkkSSxk6fBAcFdvvAxPYetPw9gdKVuWYGpmGYApDUloPCZTG7pZurUtGA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752393891; c=relaxed/simple; bh=3rZgR0l8Z1qRedXY9QRMZ0hp1DP2iberLTIl38XaMM8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uJs3e26pwjzjDDcCfpshahF1KYwCemAIz7WVSumaDlutjoUSl9DY5fJRaYwNpR9N9XFQURzN/K+oBjGtS0RJCTRDjmiQ5t710LraoLiarJnrQOIpK1fR/yISbE2my8TLSaxnkGHUcwMZpfVp+eMDMbCbE/Oy6d5HaDdT/IA9DUU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=bl2lw19C; arc=none smtp.client-ip=193.252.22.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="bl2lw19C" Received: from [172.16.82.72] ([124.33.176.97]) by smtp.orange.fr with ESMTPA id arfyuJE25DfrTargOuRCKM; Sun, 13 Jul 2025 10:03:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1752393817; bh=firp9q+7E9bpWdAhibT2eizu9TvLkkpFwp09yRSRLUM=; h=From:Date:Subject:MIME-Version:Message-Id:To; b=bl2lw19CRmjS9TwCGTrIFGfw6uJOVhwVUMSQR/bj1lvjLM3U8REMsKRwaJ8hKsP9q ghKaR+jbN3a3awdrtbdf9Fn9e3XmMLCoaMYSw+9Lx4DSFK3gQxTFjeY9yd+Mm5Kepr jn0XRu10J98CrlJj3wz7nw0jneOznWnj55pK0MFWLHd6NOlQLWzjKZnotEUQ8N9baD 4Tv1vuuFeZViHpp2poss1DtfmYPHw31V5h8kaUVrKpnjqyAPffMnxyItNR7hgTrXdL 0cna6EBsKQEgZuKPF6OikmgN1IsgJ7GnopBfNurZLP2zO29oyB2TKs4wHI1Oa+s77O KCC9AvzM7012A== X-ME-Helo: [172.16.82.72] X-ME-Auth: bWFpbGhvbC52aW5jZW50QHdhbmFkb28uZnI= X-ME-Date: Sun, 13 Jul 2025 10:03:37 +0200 X-ME-IP: 124.33.176.97 From: Vincent Mailhol Date: Sun, 13 Jul 2025 17:02:44 +0900 Subject: [PATCH 2/3] can: ti_hecc: Kconfig: add COMPILE_TEST Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250713-can-compile-test-v1-2-b4485e057375@wanadoo.fr> References: <20250713-can-compile-test-v1-0-b4485e057375@wanadoo.fr> In-Reply-To: <20250713-can-compile-test-v1-0-b4485e057375@wanadoo.fr> To: Marc Kleine-Budde Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Mailhol X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=704; i=mailhol.vincent@wanadoo.fr; h=from:subject:message-id; bh=3rZgR0l8Z1qRedXY9QRMZ0hp1DP2iberLTIl38XaMM8=; b=owGbwMvMwCV2McXO4Xp97WbG02pJDBnFGb6xh5/8/NNn+cC2cHLZjLKljc/lA9ftZxDhzMo+e mti3k63jlIWBjEuBlkxRZZl5ZzcCh2F3mGH/lrCzGFlAhnCwMUpABPxjWZkuHPwI+PNI1M+lbyx P32CweN68p3dUxIF49aa/Zi0XzL1/n2GPzwmjd0eHoUPW5W01WbbOH7i3iT7cUdEpO3HT99Vouw 2cQIA X-Developer-Key: i=mailhol.vincent@wanadoo.fr; a=openpgp; fpr=ED8F700574E67F20E574E8E2AB5FEB886DBB99C2 ti_hecc depends on ARM. Add COMPILE_TEST so that this driver can also be built on other platforms. Signed-off-by: Vincent Mailhol --- drivers/net/can/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig index cf989bea9aa33356a94a9bb495d4c22ae907d436..d58fab0161b3ea6e12047c3fa0f= 884d0142002e7 100644 --- a/drivers/net/can/Kconfig +++ b/drivers/net/can/Kconfig @@ -201,7 +201,7 @@ config CAN_SUN4I be called sun4i_can. =20 config CAN_TI_HECC - depends on ARM + depends on ARM || COMPILE_TEST tristate "TI High End CAN Controller" select CAN_RX_OFFLOAD help --=20 2.49.1 From nobody Tue Oct 7 06:57:51 2025 Received: from out.smtpout.orange.fr (out-72.smtpout.orange.fr [193.252.22.72]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 184821E25EF; Sun, 13 Jul 2025 08:04:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.252.22.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752393891; cv=none; b=cinorEUvhpFLt5dLUrt1Wpj+lQjHCs7WkB5R1x60dRUip/OhFS5YbL8GGN9vyWxa3Wht2950wl9pyBf6gPm2Q6LcE6JnDNN4a4xtqDQ5BflVB3WSUub+3Llk67tYq6+WPLCCBi5wJC6P58JZsC0vwTRYzo4yqeh+47qA1SuPw3o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752393891; c=relaxed/simple; bh=UR+gDb4IrC0T6pAt2Vs9Hh7lhC4JEvfQ6RB9Dp7lrqA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=W+Slreinyi2iBU8g/akZRqVTO0lnE9oBgoOtf8ifrORhBpSgS8WIlSHbPEjAlwfEm28uccKmSmGkNn0uXKAiHBrQDxvhHsAdxnEkRk4MqAYKu8ouKGLtdRlVEm0rC6rZlTiG8MEPMp78Mpo385m9BrISk9FpdAMH3PZGpD+JK/M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=qa0pfjoM; arc=none smtp.client-ip=193.252.22.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="qa0pfjoM" Received: from [172.16.82.72] ([124.33.176.97]) by smtp.orange.fr with ESMTPA id arfyuJE25DfrTargQuRCNG; Sun, 13 Jul 2025 10:03:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1752393819; bh=IAWMrA2/J0cINk3PCo9jM9heAqQ798UsSZiUUY7jDmE=; h=From:Date:Subject:MIME-Version:Message-Id:To; b=qa0pfjoMq1OxbPnHf7I+Wkf+doPJk7pdw+k78wiU6tB5NtI/FTC2Sv/APVmL/Q1Ff NckrmURFNX+iNYMAEoQe2nEpiplObCl8dqmYxvIXhV030IepJwh7KCozPea952UHWC ck9FODy+uc7qiaGFji3M4xbqCAZxqkVtBfiWRK6z7ZjIVJ4jQX4V7x4n+pw20GddJq E0DHwTV7P9PU+ATiaWItcI2eXLPyHCV8UuHpB6l+0b1vETtwsc2pBGWYmC9/wMDe2G h/y0s1RMTQUi7ZXRx5G7INfrOQmptA1BS5aFWyrH6J01/jrop6ENSx1Y71o6n1E4nz FLkYEwE7VCFDQ== X-ME-Helo: [172.16.82.72] X-ME-Auth: bWFpbGhvbC52aW5jZW50QHdhbmFkb28uZnI= X-ME-Date: Sun, 13 Jul 2025 10:03:39 +0200 X-ME-IP: 124.33.176.97 From: Vincent Mailhol Date: Sun, 13 Jul 2025 17:02:45 +0900 Subject: [PATCH 3/3] can: tscan1: Kconfig: add COMPILE_TEST Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250713-can-compile-test-v1-3-b4485e057375@wanadoo.fr> References: <20250713-can-compile-test-v1-0-b4485e057375@wanadoo.fr> In-Reply-To: <20250713-can-compile-test-v1-0-b4485e057375@wanadoo.fr> To: Marc Kleine-Budde Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Mailhol X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=812; i=mailhol.vincent@wanadoo.fr; h=from:subject:message-id; bh=UR+gDb4IrC0T6pAt2Vs9Hh7lhC4JEvfQ6RB9Dp7lrqA=; b=owGbwMvMwCV2McXO4Xp97WbG02pJDBnFGYEvuh1O1t+2Z0ow2urLeTroEUPJhjesPcdi93TUM VuvUPLsKGVhEONikBVTZFlWzsmt0FHoHXboryXMHFYmkCEMXJwCMBH/M4wMC1dUpXfvZ8zSNorI ynihlLGN/1GdTlpkuODVQD2Lv6eAKo7t7Q3J7vondX771InLl/1PVfKRXXo29EHa/Ai76XaNX/k B X-Developer-Key: i=mailhol.vincent@wanadoo.fr; a=openpgp; fpr=ED8F700574E67F20E574E8E2AB5FEB886DBB99C2 tscan1 depends on ISA. Add COMPILE_TEST so that this driver can also be built on other platforms. Signed-off-by: Vincent Mailhol --- drivers/net/can/sja1000/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/can/sja1000/Kconfig b/drivers/net/can/sja1000/Kcon= fig index 2f516cc6d22c4028b1de383baa6b3d3a7605b791..fee9d6f84f5fb9d6a81df00be9d= 216219723a854 100644 --- a/drivers/net/can/sja1000/Kconfig +++ b/drivers/net/can/sja1000/Kconfig @@ -105,7 +105,7 @@ config CAN_SJA1000_PLATFORM =20 config CAN_TSCAN1 tristate "TS-CAN1 PC104 boards" - depends on ISA + depends on ISA || COMPILE_TEST help This driver is for Technologic Systems' TSCAN-1 PC104 boards. https://www.embeddedts.com/products/TS-CAN1 --=20 2.49.1