Re: [PATCH] powerpc: fix memory leaks in QE library

2008-08-20 Thread Tony Breeds
On Mon, Aug 18, 2008 at 04:12:08PM -0500, Timur Tabi wrote: Fix two memory leaks in the Freescale QE library: add a missing kfree() in ucc_fast_init() if the ioremap() fails, and update ucc_fast_free() to call iounmap() on uf_regs. It's been pointed out in

Re: [PATCH] powerpc: fix memory leaks in QE library

2008-08-20 Thread Timur Tabi
On Wed, Aug 20, 2008 at 1:38 AM, Tony Breeds [EMAIL PROTECTED] wrote: It's been pointed out in http://bugzilla.kernel.org/show_bug.cgi?id=11371 that ucc_slow suffers from the same (welll clsoe enough) 2 problems. Care to fix them aswell? Sure. I'll do a sweep o the QE code just to make sure

Re: [PATCH] powerpc: fix memory leaks in QE library

2008-08-20 Thread Kumar Gala
On Aug 18, 2008, at 4:12 PM, Timur Tabi wrote: Fix two memory leaks in the Freescale QE library: add a missing kfree() in ucc_fast_init() if the ioremap() fails, and update ucc_fast_free() to call iounmap() on uf_regs. Based on a patch from Tony Breeds [EMAIL PROTECTED]. Signed-off-by:

[PATCH] powerpc: fix memory leaks in QE library

2008-08-18 Thread Timur Tabi
Fix two memory leaks in the Freescale QE library: add a missing kfree() in ucc_fast_init() if the ioremap() fails, and update ucc_fast_free() to call iounmap() on uf_regs. Based on a patch from Tony Breeds [EMAIL PROTECTED]. Signed-off-by: Timur Tabi [EMAIL PROTECTED] ---