Re: [PATCH v2 0/2] USB: store owner from modules with usb_serial_register_drivers()
From: Johan Hovold
Date: Wed Jul 31 2024 - 03:09:04 EST
On Fri, May 03, 2024 at 12:10:51PM +0200, Krzysztof Kozlowski wrote:
> Changes in v2:
> - Squash .owner removalr patches into one (Johan)
> - Drop owner from f81534 driver
> - kerneldoc "module/owner" -> module (Johan)
> - Fix amba->usb copypasta
> - Link to v1: https://lore.kernel.org/r/20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@xxxxxxxxxx
>
> Description
> ===========
> Modules registering driver with usb_serial_register_drivers() might
> forget to set .owner field.
>
> Solve the problem by moving this task away from the drivers to the core
> USB code, just like we did for platform_driver in commit
> 9447057eaff8 ("platform_device: use a macro instead of
> platform_driver_register").
> Krzysztof Kozlowski (2):
> USB: serial: store owner from modules with usb_serial_register_drivers()
> USB: serial: drop driver owner initialization
Sorry about the delay. Now applied.
Johan