Re: [PATCH] mtd: physmap_of: Fix resources leak in 'of_flash_probe()'

2017-08-17 Thread Boris Brezillon
Le Sun, 6 Aug 2017 14:55:01 +0200, Christophe JAILLET a écrit : > If 'of_flash_probe_gemini()' or 'of_flash_probe_versatile()' fail, we must > reslease some resources, as already done in all error handling paths in > this function. Applied to l2-mtd/master. Thanks, Boris > > Signed-off-by:

[PATCH] mtd: physmap_of: Fix resources leak in 'of_flash_probe()'

2017-08-06 Thread Christophe JAILLET
If 'of_flash_probe_gemini()' or 'of_flash_probe_versatile()' fail, we must reslease some resources, as already done in all error handling paths in this function. Signed-off-by: Christophe JAILLET --- drivers/mtd/maps/physmap_of_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) di