You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ARM: 9361/1: amba: store owner from modules with amba_driver_register()
JIRA: https://issues.redhat.com/browse/RHEL-56484
commit 5677b17
Author: Krzysztof Kozlowski <[email protected]>
Date: Tue, 2 Apr 2024 10:51:08 +0100
Modules registering driver with amba_driver_register() often forget to
set .owner field. The field is used by some of other kernel parts for
reference counting (try_module_get()), so it is expected that drivers
will set it.
Solve the problem by moving this task away from the drivers to the core
amba bus code, just like we did for platform_driver in
commit 9447057 ("platform_device: use a macro instead of
platform_driver_register").
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Andi Shyti <[email protected]>
Acked-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Signed-off-by: Mark Salter <[email protected]>
0 commit comments