[PATCH] hid: usbhid: hiddev.c: fix checkpatch.pl errors

2017-02-26 Thread Avraham Shukron
- Extracted assignments out of 'if' statements - Removed unnecessary spaces - Broke long lines - Added empty lines after declarations Signed-off-by: Avraham Shukron --- drivers/hid/usbhid/hiddev.c | 51 ++--- 1 file changed, 34

[usb] bea5b158ff WARNING: CPU: 0 PID: 25 at drivers/usb/core/urb.c:338 usb_submit_urb

2017-02-26 Thread Fengguang Wu
[Sorry, resend to correct Felipe's email address] Greetings, This debug patch possibly discloses some USB/I2C bugs. Since the USB warning shows up earlier in dmesg, it might also be the root cause of the I2C bug. The attached reproduce-* script may help debug them.

[usb] bea5b158ff WARNING: CPU: 0 PID: 25 at drivers/usb/core/urb.c:338 usb_submit_urb

2017-02-26 Thread Fengguang Wu
Greetings, This debug patch possibly discloses some USB/I2C bugs. Since the USB warning shows up earlier in dmesg, it might also be the root cause of the I2C bug. The attached reproduce-* script may help debug them. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master