Re: [PATCH] usb: gadget: f_fs: use memdup_user

2017-05-13 Thread Dan Carpenter
On Sat, May 13, 2017 at 11:15:59AM +0800, Geliang Tang wrote: > Use memdup_user() helper instead of open-coding to simplify the code. > > Signed-off-by: Geliang Tang > --- > drivers/usb/gadget/function/f_fs.c | 11 +++ > 1 file changed, 3 insertions(+), 8 deletions(-) > > diff --git a/d

Re: usb: dwc2: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 146s

2017-05-13 Thread Stefan Wahren
> Doug Anderson hat am 11. Mai 2017 um 01:50 > geschrieben: > > > Hi, > > On Wed, May 10, 2017 at 9:31 AM, Johan Hovold wrote: > > On Mon, May 08, 2017 at 10:22:08PM +0200, Stefan Wahren wrote: > >> @Doug, @John Y., @Johan: Any further ideas to narrow down the reason > >> for this interrupt s

[PATCH] doc-rst: fixed kernel-doc directives in usb/typec.rst

2017-05-13 Thread Markus Heiser
Even if this file is not yet included in any toctree, it is parsed by Sphinx since it is named '.rst'. This patch fixes the following two ERRORs from Sphinx build: Documentation/usb/typec.rst:116: ERROR: Error in "kernel-doc" directive: invalid option block. .. kernel-doc:: drivers/usb/typec/type

System can't recognise specific USB device (Intel Bay Trail)

2017-05-13 Thread Nuno Vitorino
Hi, I’m working with two different Intel Bay Trail motherboards based on the J1900 processor with Debian Jessie (kernel 3.16.39). Both are exhibiting a strange behaviour when connecting a specific USB device, a Digital to Digital Converter (DDC) which works via USB Audio Class 2 (snd-usb-audio). W

[PATCH v2] usb: misc: legousbtower: Fix memory leak

2017-05-13 Thread Maksim Salau
get_version_reply is not freed if function returns with success. Fixes: 942a48730faf ("usb: misc: legousbtower: Fix buffers on stack") Reported-by: Heikki Krogerus Signed-off-by: Maksim Salau --- v2: Changed tags to match guidelines. drivers/usb/misc/legousbtower.c | 1 + 1 file changed, 1