Re: [PATCH 04/10] USB: core: hub.c: use usb_control_msg_send() in a few places

2020-09-02 Thread Greg Kroah-Hartman
On Wed, Sep 02, 2020 at 10:57:01AM -0400, Alan Stern wrote: > On Wed, Sep 02, 2020 at 01:01:06PM +0200, Greg Kroah-Hartman wrote: > > There are a few calls to usb_control_msg() that can be converted to use > > usb_control_msg_send() instead, so do that in order to make the error > > checking a bit

Re: [PATCH 04/10] USB: core: hub.c: use usb_control_msg_send() in a few places

2020-09-02 Thread Alan Stern
On Wed, Sep 02, 2020 at 01:01:06PM +0200, Greg Kroah-Hartman wrote: > There are a few calls to usb_control_msg() that can be converted to use > usb_control_msg_send() instead, so do that in order to make the error > checking a bit simpler and the code smaller. > > Cc: Alan Stern > Signed-off-by:

[PATCH 04/10] USB: core: hub.c: use usb_control_msg_send() in a few places

2020-09-02 Thread Greg Kroah-Hartman
There are a few calls to usb_control_msg() that can be converted to use usb_control_msg_send() instead, so do that in order to make the error checking a bit simpler and the code smaller. Cc: Alan Stern Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/hub.c | 128