[PATCH 00/12] clk: samsung: Use platform_driver_probe() to avoid __refdata
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Wed Mar 5 13:43:31 PST 2025
On 05/03/2025 22:42, Krzysztof Kozlowski wrote:
> RFT/RFC because testing needed. I tried to do the same on exynos5-subcmu
> and it caused weird oopses which even KASAN did not narrow. Probably
> because of multiple exynos5-subcmu devices?
>
> Switch registering platform driver to platform_driver_probe(), so the
> 'struct platform_driver' can be properly discarded after init and there
> won't be need of __refdata to silence DEBUG_SECTION_MISMATCH.
>
> The change requires using subsys_initcall instead of core_initcall,
> because no device drivers would bound in the latter, as required by
> platform_driver_probe().
Forgot to set prefix and I aborted this send. Please ignore, new posting
coming.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list