[PATCH v2] carl9170: fix misuse of device driver API

2019-06-08 Thread Christian Lamparter
This patch follows Alan Stern's recent patch: "p54: Fix race between disconnect and firmware loading" that overhauled carl9170 buggy firmware loading and driver unbinding procedures. Since the carl9170 code was adapted from p54 it uses the same functions and is likely to have the same problem, bu

Re: [GIT PULL] USB: fixes for v5.2-rc4

2019-06-08 Thread Greg Kroah-Hartman
On Fri, Jun 07, 2019 at 09:33:29AM +0300, Felipe Balbi wrote: > > Hi Greg, > > Here's my first set of fixes for this -rc cycle. Looks like most of what > I have in my inbox these days are new features. Very little fixes. I > guess folks are writing perfect code now :-p > > Let me know if you wan

Re: Slow I/O on USB media

2019-06-08 Thread Andrea Vai
Il giorno sab 8 giu 2019 alle ore 09:43 Andrea Vai ha scritto: > >[...] > > Hi, > there is also something else I don't understand. > Every time I build a kernel, then after booting it "uname -a" shows > something like > > Linux [...] 4.19.0-rc5+ #12 SMP Sat Jun 8 00:26:42 CEST 2019 x86_64 > x86_

[bug report] usb: gadget: f_fs: OS descriptors support

2019-06-08 Thread Dan Carpenter
Hello Andrzej Pietrasiewicz, The patch f0175ab51993: "usb: gadget: f_fs: OS descriptors support" from Jul 9, 2014, leads to the following static checker warning: drivers/usb/gadget/function/f_fs.c:2992 __ffs_func_bind_do_os_desc() error: 'ext_prop->data_len' from user is not cappe

Re: Slow I/O on USB media

2019-06-08 Thread Andrea Vai
Il giorno gio 6 giu 2019 alle ore 16:48 Greg KH ha scritto: > > On Thu, Jun 06, 2019 at 04:00:52PM +0200, Andrea Vai wrote: > > Il giorno mer, 05/06/2019 alle 19.39 +0200, Greg KH ha scritto: > > > On Wed, Jun 05, 2019 at 06:23:58PM +0200, Andrea Vai wrote: > > > [...] > > > > > > > Anyway, I know