The usbhs_pkt_handle structures are never modified, so declare them as
const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/usb/renesas_usbhs/fifo.c | 20 ++--
drivers/usb/renesas_usbhs/fifo.h | 20 ++--
Dear kernel-hackers,
this adds the PID and VID for the ELV Marble Sound Board which uses a
CP2102 as USB-serial converter.
I hope linux-usb is the correct list for this patch, otherwise please
redirect me.
Details about this device, for the interested (German):
> On 12/26/2015 04:57 AM, changbin...@intel.com wrote:
> > From: "Du, Changbin"
> >
> > If acm_bind fails before allocate notification and acm->notify_req is
> > not set to NULL after freed last time, double free will happen.
>
> Looks good to me.
>
> Similar problem can
Hi John,
the commit 09c96980dc72 ("usb: dwc2: Add functions to set and clear force mode")
in Felipe's USB repo causes a regression on Raspberry Pi B which prevents the
probing of the dwc2 driver.
I attached a patch which fixes the regression but i'm not sure that's the right
way.
Regards
Stefan
On 12/26/2015 04:57 AM, changbin...@intel.com wrote:
> From: "Du, Changbin"
>
> If acm_bind fails before allocate notification and acm->notify_req is
> not set to NULL after freed last time, double free will happen.
Looks good to me.
Similar problem can occur with
On Fri, Dec 25, 2015 at 03:41:32PM +0100, Stefan Wahren wrote:
> Hi,
>
> > Peter Chen hat am 25. Dezember 2015 um 07:22
> > geschrieben:
> >
> >
> > On Thu, Dec 24, 2015 at 09:42:58AM +0100, Stefan Wahren wrote:
> > > Hi,
> > >
> > > > Peter Chen
From: "Du, Changbin"
acm, ecm, hid, ncm, phonet, rndis and uvc functions all have double
memory free issue. Set pointers to NULL after freed to avoid this.
Here explain how it happen on acm function, others has analogical case.
If acm_bind fails before allocate