[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c5agcvxca6z7fb6eqwlrqq4232toncpfuu5frds3ebsbht7tyz@7lpkvzl4lyxi>
Date: Thu, 14 Aug 2025 07:13:12 +0200
From: Uwe Kleine-König <u.kleine-koenig@...libre.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Dominik Brodowski <linux@...inikbrodowski.net>,
Aaro Koskinen <aaro.koskinen@....fi>, Janusz Krzysztofik <jmkrzyszt@...il.com>,
Tony Lindgren <tony@...mide.com>, Kevin Hilman <khilman@...libre.com>, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 resend] pcmcia: omap_cf: Mark driver struct with
__refdata to prevent section mismatch
Hello Geert,
On Wed, Aug 13, 2025 at 05:50:14PM +0200, Geert Uytterhoeven wrote:
> As described in the added code comment, a reference to .exit.text is ok
> for drivers registered via platform_driver_probe(). Make this explicit
> to prevent the following section mismatch warning
>
> WARNING: modpost: drivers/pcmcia/omap_cf: section mismatch in reference: omap_cf_driver+0x4 (section: .data) -> omap_cf_remove (section: .exit.text)
>
> that triggers on an omap1_defconfig + CONFIG_OMAP_CF=m build.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
> Acked-by: Aaro Koskinen <aaro.koskinen@....fi>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@...libre.com>
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists