Re: [PATCH] usb: misc: usbio: Handle negative error code from usb_control_msg()
From: Serhat Kumral
Date: Sat Oct 03 2026 - 12:19:07 EST
On Sat, Oct 03, 2026 at 17:13:45 +0200, Greg KH wrote:
> Ick, really? There's no compiler check for this type of thing?
> This whole function needs to be rewritten to use the "modern" control
> message functions. I gave it a go once, but it quickly got messy as
> this is an abused function and it really should be massivly cleaned up.
> Do you have the hardware for this to test changes?
Unfortunately I don't have the hardware. I relied on static analysis
and tried to keep things quite simple
thanks,
Serhat