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
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
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/
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
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
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