回复: [PATCH] usb: gadget: function: printer: The device interface is reset and should return error code

2020-06-29 Thread Zhang, Qiang
; linux-kernel@vger.kernel.org 主题: [PATCH] usb: gadget: function: printer: The device interface is reset and should return error code From: Zqiang After the device is disconnected from the host side, the interface of the device is reset. If the userspace operates the device again, an error code

Re: [PATCH] usb: gadget: function: printer: The device interface is reset and should return error code

2020-06-28 Thread Greg Kroah-Hartman
On Sun, Jun 28, 2020 at 03:43:10PM +0200, Markus Elfring wrote: > I suggest to choose a more succinct patch subject. > > > > After the device is disconnected from the host side, the interface of > > the device is reset. If the userspace operates the device again, > > an error code should be retur

Re: [PATCH] usb: gadget: function: printer: The device interface is reset and should return error code

2020-06-28 Thread Markus Elfring
I suggest to choose a more succinct patch subject. > After the device is disconnected from the host side, the interface of > the device is reset. If the userspace operates the device again, > an error code should be returned. Please use an imperative wording for the commit message. https://git.k

[PATCH] usb: gadget: function: printer: The device interface is reset and should return error code

2020-06-27 Thread qiang.zhang
From: Zqiang After the device is disconnected from the host side, the interface of the device is reset. If the userspace operates the device again, an error code should be returned. Signed-off-by: Zqiang --- drivers/usb/gadget/function/f_printer.c | 36 + 1 file changed