Re: [PATCH] mtd: fixing memory leak and handling failed kmalloc

2016-01-06 Thread Brian Norris
On Tue, Dec 29, 2015 at 01:45:09PM -0500, Insu Yun wrote: > kmalloc needs to be handled when failing in memory pressure. > Also, it has memory leak in error routine. > > Signed-off-by: Insu Yun Applied to l2-mtd.git -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] mtd: fixing memory leak and handling failed kmalloc

2016-01-06 Thread Brian Norris
On Tue, Dec 29, 2015 at 01:45:09PM -0500, Insu Yun wrote: > kmalloc needs to be handled when failing in memory pressure. > Also, it has memory leak in error routine. > > Signed-off-by: Insu Yun Applied to l2-mtd.git -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] mtd: fixing memory leak and handling failed kmalloc

2015-12-29 Thread Insu Yun
kmalloc needs to be handled when failing in memory pressure. Also, it has memory leak in error routine. Signed-off-by: Insu Yun --- drivers/mtd/chips/cfi_cmdset_0001.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c

[PATCH] mtd: fixing memory leak and handling failed kmalloc

2015-12-29 Thread Insu Yun
kmalloc needs to be handled when failing in memory pressure. Also, it has memory leak in error routine. Signed-off-by: Insu Yun --- drivers/mtd/chips/cfi_cmdset_0001.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git