RE: [PATCH 2/3] usb: chipidea: udc: improve error handling on ep_queue

2015-10-27 Thread Peter Chen
> Hi Peter, > > Have you seen this patch? I saw that you didn't apply it to your tree, so I > wonder if it is good or do I have to change anything. > > This patch is a bug fix for a memory leak, so it is quite important. > Would you please create it based on my tree, branch ci-for-usb-next? I

Re: [PATCH 2/3] usb: chipidea: udc: improve error handling on ep_queue

2015-10-27 Thread Felipe Ferreri Tonello
Hi Peter, Have you seen this patch? I saw that you didn't apply it to your tree, so I wonder if it is good or do I have to change anything. This patch is a bug fix for a memory leak, so it is quite important. -- Felipe On 18/09/15 18:30, e...@felipetonello.com wrote: > From: "Felipe F. Tonello

Re: [PATCH 2/3] usb: chipidea: udc: improve error handling on ep_queue

2015-10-21 Thread Peter Chen
On Fri, Sep 18, 2015 at 06:30:20PM +0100, e...@felipetonello.com wrote: > From: "Felipe F. Tonello" > > _ep_queue() didn't check for errors when using add_td_to_list() > which can fail if dma_pool_alloc fails, thus causing a kernel > panic when lastnode->ptr is NULL. > > Signed-off-by: Felipe F.

[PATCH 2/3] usb: chipidea: udc: improve error handling on ep_queue

2015-09-18 Thread eu
From: "Felipe F. Tonello" _ep_queue() didn't check for errors when using add_td_to_list() which can fail if dma_pool_alloc fails, thus causing a kernel panic when lastnode->ptr is NULL. Signed-off-by: Felipe F. Tonello --- Changes for v2: - Use separate patch for cleanups. drivers/usb/chip