Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-05-07 Thread Andy Shevchenko
On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: > The vd->node is removed from the lists when the transfer started so the > vchan_get_all_descriptors() will not find it. This results memory leak. > > Signed-off-by: Peter Ujfalusi > CC: Andy Shevchenko > --- > drivers/dma/hsu/hsu.c | 5

Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-05-07 Thread Andy Shevchenko
On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: The vd-node is removed from the lists when the transfer started so the vchan_get_all_descriptors() will not find it. This results memory leak. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Andy Shevchenko

Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-05-04 Thread Vinod Koul
On Tue, Apr 28, 2015 at 01:17:08PM +0200, 'Greg Kroah-Hartman' wrote: > On Mon, Mar 30, 2015 at 11:07:32PM +0530, Vinod Koul wrote: > > On Fri, Mar 27, 2015 at 02:01:58PM +0200, Andy Shevchenko wrote: > > > On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: > > > > The vd->node is removed

Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-05-04 Thread Vinod Koul
On Tue, Apr 28, 2015 at 01:17:08PM +0200, 'Greg Kroah-Hartman' wrote: On Mon, Mar 30, 2015 at 11:07:32PM +0530, Vinod Koul wrote: On Fri, Mar 27, 2015 at 02:01:58PM +0200, Andy Shevchenko wrote: On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: The vd-node is removed from the

Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-04-28 Thread 'Greg Kroah-Hartman'
On Mon, Mar 30, 2015 at 11:07:32PM +0530, Vinod Koul wrote: > On Fri, Mar 27, 2015 at 02:01:58PM +0200, Andy Shevchenko wrote: > > On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: > > > The vd->node is removed from the lists when the transfer started so the > > >

Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-04-28 Thread 'Greg Kroah-Hartman'
On Mon, Mar 30, 2015 at 11:07:32PM +0530, Vinod Koul wrote: On Fri, Mar 27, 2015 at 02:01:58PM +0200, Andy Shevchenko wrote: On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: The vd-node is removed from the lists when the transfer started so the vchan_get_all_descriptors() will not

Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-03-30 Thread Vinod Koul
On Fri, Mar 27, 2015 at 02:01:58PM +0200, Andy Shevchenko wrote: > On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: > > The vd->node is removed from the lists when the transfer started so the > > vchan_get_all_descriptors() will not find it. This results memory leak. > > > > Acked-by:

Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-03-30 Thread Vinod Koul
On Fri, Mar 27, 2015 at 02:01:58PM +0200, Andy Shevchenko wrote: On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: The vd-node is removed from the lists when the transfer started so the vchan_get_all_descriptors() will not find it. This results memory leak. Acked-by: Andy

Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-03-27 Thread Andy Shevchenko
On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: > The vd->node is removed from the lists when the transfer started so the > vchan_get_all_descriptors() will not find it. This results memory leak. > Acked-by: Andy Shevchenko Though this one would go via Greg's tty tree (Cc'ed) I think.

[PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-03-27 Thread Peter Ujfalusi
The vd->node is removed from the lists when the transfer started so the vchan_get_all_descriptors() will not find it. This results memory leak. Signed-off-by: Peter Ujfalusi CC: Andy Shevchenko --- drivers/dma/hsu/hsu.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-03-27 Thread Peter Ujfalusi
The vd-node is removed from the lists when the transfer started so the vchan_get_all_descriptors() will not find it. This results memory leak. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/hsu/hsu.c | 5 - 1 file

Re: [PATCH 4/5] dmaengine: hsu: Fix memory leak when stopping a running transfer

2015-03-27 Thread Andy Shevchenko
On Fri, 2015-03-27 at 13:35 +0200, Peter Ujfalusi wrote: The vd-node is removed from the lists when the transfer started so the vchan_get_all_descriptors() will not find it. This results memory leak. Acked-by: Andy Shevchenko andriy.shevche...@linux.intel.com Though this one would go via