Re: [PATCH] uio: fix memory leak

2013-10-25 Thread Sebastian Andrzej Siewior
On 25.10.13, Cong Ding wrote: > we have to call kobject_put() to clean up the kobject after function > kobject_init(), kobject_add(), or kobject_uevent() is called. > > Signed-off-by: Cong Ding Acked-by: Sebastian Andrzej Siewior Sebastian -- To unsubscribe from this list: send the line

[PATCH] uio: fix memory leak

2013-10-25 Thread Cong Ding
we have to call kobject_put() to clean up the kobject after function kobject_init(), kobject_add(), or kobject_uevent() is called. Signed-off-by: Cong Ding --- drivers/uio/uio.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/uio/uio.c

[PATCH] uio: fix memory leak

2013-10-25 Thread Cong Ding
we have to call kobject_put() to clean up the kobject after function kobject_init(), kobject_add(), or kobject_uevent() is called. Signed-off-by: Cong Ding ding...@gmail.com --- drivers/uio/uio.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] uio: fix memory leak

2013-10-25 Thread Sebastian Andrzej Siewior
On 25.10.13, Cong Ding wrote: we have to call kobject_put() to clean up the kobject after function kobject_init(), kobject_add(), or kobject_uevent() is called. Signed-off-by: Cong Ding ding...@gmail.com Acked-by: Sebastian Andrzej Siewior sebast...@breakpoint.cc Sebastian -- To unsubscribe