On Aug 20, 2008, at 10:29 AM, Timur Tabi wrote:
Fix two memory leaks in the Freescale QE library: add a missing
kfree() in
ucc_fast_init() and ucc_slow_init() if the ioremap() fails, and update
ucc_fast_free() and ucc_slow_free() to call iounmap() if necessary.
Based on a patch from Tony Breeds <[EMAIL PROTECTED]>.
Signed-off-by: Timur Tabi <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/qe_lib/ucc_fast.c | 4 ++++
arch/powerpc/sysdev/qe_lib/ucc_slow.c | 8 +++++---
2 files changed, 9 insertions(+), 3 deletions(-)
applied. (this just became ucc_slow since I had already applied v1).
- k
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev