[PATCH] coresight: Fixes device's owner field for registered using coresight_init_driver()

Suzuki K Poulose suzuki.poulose at arm.com
Tue Apr 29 10:54:05 PDT 2025


On Wed, 18 Sep 2024 11:53:27 +0800, Junhao He wrote:
> The coresight_init_driver() of the coresight-core module is called from
> the sub coresgiht device (such as tmc/stm/funnle/...) module. It calls
> amba_driver_register() and Platform_driver_register(), which are macro
> functions that use the coresight-core's module to initialize the caller's
> owner field.  Therefore, when the sub coresight device calls
> coresight_init_driver(), an incorrect THIS_MODULE value is captured.
> 
> [...]

Applied, thanks!

[1/1] coresight: Fixes device's owner field for registered using coresight_init_driver()
      https://git.kernel.org/coresight/c/9f52aecc

Best regards,
-- 
Suzuki K Poulose <suzuki.poulose at arm.com>



More information about the linux-arm-kernel mailing list