Re: [PATCH v2 1/1] usbip: Use platform_device_register_full()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/6/23 10:43, Andy Shevchenko wrote:
The code to create the child platform device is essentially the same as
what platform_device_register_full() does, so change over to use
that same function to reduce duplication.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
v2: (hopefully) fixed run-time NULL-dereference (LKP)
  drivers/usb/usbip/vhci_hcd.c | 55 +++++++++++++-----------------------
  1 file changed, 20 insertions(+), 35 deletions(-)


Looks good to me.

Acked-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>

thanks,
-- Shuah





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux