[PATCH] {GET,SET} PROCOTOL Support

2017-06-23 Thread Abdulhadi Mohamed
the current HID function dirver doesn't support GET_PROCOTOL and SET_PROCOTOL commands, which are required to operate the HID gadget in BOOT mode. This change implements this feature for devices that have the same implementation for REPORT and BOOT mode Signed-off-by: Abdulhadi Mohamed --- drive

[PATCH v2] PCI / PM: Avoid using device_may_wakeup() for runtime PM

2017-06-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki pci_target_state() calls device_may_wakeup() which checks whether or not the device may wake up the system from sleep states, but pci_target_state() is used for runtime PM too. Since runtime PM is expected to always enable remote wakeup if possible, modify pci_target_stat

Re: [RFC PATCH linux-next] usb: gadget: udc: start_udc() can be static

2017-06-23 Thread Raviteja Garimella
Looks good to me. Thanks, Ravi On Fri, Jun 23, 2017 at 4:50 PM, kbuild test robot wrote: > > Signed-off-by: Fengguang Wu > --- > snps_udc_plat.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/usb/gadget/udc/snps_udc_plat.c > b/drivers/usb/gadget/udc/

[RFC PATCH linux-next] usb: gadget: udc: start_udc() can be static

2017-06-23 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- snps_udc_plat.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/snps_udc_plat.c b/drivers/usb/gadget/udc/snps_udc_plat.c index 2e11f19..f7b4d0f 100644 --- a/drivers/usb/gadget/udc/snps_udc_plat.c +++ b/drivers/u

[linux-next:master 6255/9581] drivers/usb/gadget/udc/snps_udc_plat.c:31:6: sparse: symbol 'start_udc' was not declared. Should it be static?

2017-06-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: a73468728fd8f34ccbd7c60f0808024ae491f4d6 commit: 1b9f35adb0ffa143c7972a8459d6979c77d6c3c0 [6255/9581] usb: gadget: udc: Add Synopsys UDC Platform driver reproduce: # apt-get install sparse g

[bug report] usbip: vhci-hcd: Set the vhci structure up to work

2017-06-23 Thread Dan Carpenter
Hello Yuyang Du, The patch 03cd00d538a6: "usbip: vhci-hcd: Set the vhci structure up to work" from Jun 8, 2017, leads to the following static checker warning: drivers/usb/usbip/vhci_hcd.c:1355 vhci_hcd_probe() error: potentially dereferencing uninitialized 'vhci'. drivers/usb/usb