aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-03-28 21:45:45 +0100
committerMartin K. Petersen <[email protected]>2024-04-05 20:58:25 -0400
commit65a09ba2693681da53099a0f41b7fb6d5ebbead5 (patch)
tree4689b3b655587f9bebe8575bc612e835720c003a /scripts/generate_rust_analyzer.py
parent4e64bbba5352382feb2b6041b26eeb69e96949a9 (diff)
scsi: core: Store owner from modules with scsi_register_driver()
Modules registering driver with scsi_driver_register() might 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 scsi code, just like we did for platform_driver in commit 9447057eaff8 ("platform_device: use a macro instead of platform_driver_register"). Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions