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

From: Shuah Khan
Date: Tue Aug 22 2023 - 10:12:31 EST


On 8/17/23 06:13, 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>
---
drivers/usb/usbip/vhci_hcd.c | 42 +++++++++++-------------------------
1 file changed, 13 insertions(+), 29 deletions(-)


Please address the following problem and send v2.

kernel test robot noticed "BUG:kernel_NULL_pointer_dereference,address" on:

thanks,
-- Shuah