[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aPYBtV2gK9YMH-dT@hovoldconsulting.com>
Date: Mon, 20 Oct 2025 11:32:37 +0200
From: Johan Hovold <johan@...nel.org>
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] clocksource/drivers/stm: Fix section mismatches
On Fri, Oct 17, 2025 at 07:49:43AM +0200, Johan Hovold wrote:
> Platform drivers can be probed after their init sections have been
> discarded (e.g. on probe deferral or manual rebind through sysfs) so the
> probe function must not live in init. Device managed resource actions
> similarly cannot be discarded.
>
> The "_probe" suffix of the driver structure name prevents modpost from
> warning about this so replace it to catch any similar future issues.
>
> Fixes: cec32ac75827 ("clocksource/drivers/nxp-timer: Add the System Timer Module for the s32gx platforms")
> Cc: stable@...r.kernel.org # 6.16
> Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
> Signed-off-by: Johan Hovold <johan@...nel.org>
Addressing this apparently depends on commit 84b1a903aed8
("time/sched_clock: Export symbol for sched_clock register function")
which was merged for 6.18-rc1.
So the stable tag should be dropped (e.g. unless it's possible to
backport also the dependency to 6.17).
Johan
Powered by blists - more mailing lists