Thread (18 messages) 18 messages, 5 authors, 2025-08-26

Re: [PATCH] clocksource/drivers/exynos_mct: Fix section mismatch from the module conversion

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2025-07-25 08:52:24
Also in: linux-samsung-soc, lkml

On 25/07/2025 10:48, Krzysztof Kozlowski wrote:
On 15/07/2025 14:18, Daniel Lezcano wrote:
quoted
The function register_current_timer_delay() when compiling on ARM32
fails with a section mismatch. That is resulting from the module
conversion where the function exynos4_clocksource_init() is called
from mct_init_dt(). This one had its __init annotation removed to for
the module loading.

Fix this by adding the __init_or_module annotation for the functions:
 - mct_init_dt()
 - mct_init_spi()
 - mct_init_dt()

Compiled on ARM32 + MODULES=no, ARM64 + MODULES=yes, ARM64 +
MODULES=no

Signed-off-by: Daniel Lezcano <redacted>
---
 drivers/clocksource/exynos_mct.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Did anyone applied this or any other fix?

Next builds are still broken.
https://krzk.eu/#/builders/12/builds/3365
... and first failure was 9 (!) days ago:
https://krzk.eu/#/builders/12/builds/3350


Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help