[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ms4n9uk4.ffs@tglx>
Date: Sat, 15 Nov 2025 16:36:43 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: Johan Hovold <johan@...nel.org>, Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas.schier@...ux.dev>
Cc: Masahiro Yamada <masahiroy@...nel.org>, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, Johan Hovold <johan@...nel.org>
Subject: Re: [PATCH] modpost: drop '*_probe' from section check whitelist
On Mon, Oct 20 2025 at 11:16, Johan Hovold wrote:
> Several symbol patterns used to be whitelisted to allow drivers to refer
> to functions annotated with __devinit and __devexit, which have since
> been removed.
>
> Commit e1dc1bfe5b27 ("modpost: remove more symbol patterns from the
> section check whitelist") removed most of these patterns but left
> '*_probe' after a reported warning in an irqchip driver.
>
> Turns out that was indeed an incorrect reference which has now been
> fixed by commit 9b685058ca93 ("irqchip/qcom-irq-combiner: Fix section
> mismatch").
>
> A recently added clocksource driver also relies on this suffix to
> suppress another valid warning, and that is being fixed separately. [1]
>
> Note that drivers with valid reasons for suppressing the warnings can
> use the __ref macros.
>
> Link: https://lore.kernel.org/lkml/20251017054943.7195-1-johan@kernel.org/ [1]
> Signed-off-by: Johan Hovold <johan@...nel.org>
Thanks for cleaning this up!
Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
Powered by blists - more mailing lists