]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge patch series "can: Kconfig: add missing COMPILE_TEST"
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Jul 2025 11:32:08 +0000 (13:32 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Jul 2025 11:32:08 +0000 (13:32 +0200)
Vincent Mailhol <mailhol.vincent@wanadoo.fr> says:

The ti_hecc and tscan1 CAN drivers can not be built on an x86_64
platform. Add the COMPILE_TEST dependency to allow build testing.

Doing that, a so far unnoticed W=0 warning showed up in ti_hecc. Fix
this warning. To prevent any potential noise in some future git
bisect, the warning is fixed before introducing COMPILE_TEST.

Note that the mscan and mpc5xxx drivers have the same issue but those
two use some helper functions, such as in_8() and out_8(), which are
only available on the powerpc platform. Those two drivers would
require some deeper code refactor to be built on x86_64 and are thus
left out of scope.

Link: https://patch.msgid.link/20250715-can-compile-test-v2-0-f7fd566db86f@wanadoo.fr
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

Trivial merge