Re: [RFC PATCH] usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend
From: Kuen-Han Tsai
Date: Wed Jan 17 2024 - 07:17:08 EST
> int ret = dwc3_gadget_soft_disconnect(dwc);
I'm not sure if the coding style in this line, where the declaration
and assignment of a variable are combined, is considered good
practice.
The other parts look good to me.
Thanks,
Kuen-Han