
12 Aug
2010
12 Aug
'10
2:28 p.m.
Vitaly Kuzmichev wrote:
Hi Stefano,
On 08/12/2010 01:41 AM, Stefano Babic wrote:
#if defined(DEV_CONFIG_CDC) if (dev->status_ep) {
dev->stat_req = usb_ep_alloc_request(gadget->ep0, GFP_KERNEL);
dev->stat_req->buf = status_req;
if (!dev->stat_req) { dev->stat_req->buf=NULL;dev->stat_req = usb_ep_alloc_request(dev->status_ep, GFP_KERNEL);
We get oops here!
Agree, and the issue is not related to this patch, I missed to correct it, thanks. If no one complains, I will send a single patch to fix both problems (wrong ep status + null pointer access).
Best regards, Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de
=====================================================================