Files
linux/drivers/mtd/ubi
Wei Yongjun 3fe9580109 mtd: ubi: wl: Fix error return code in ubi_wl_init()
commit 7233982ade upstream.

Fix to return error code -ENOMEM from the kmem_cache_alloc() error
handling case instead of 0, as done elsewhere in this function.

Fixes: f78e5623f4 ("ubi: fastmap: Erase outdated anchor PEBs during
attach")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Cc: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-19 22:47:16 +02:00
..
2016-10-02 22:48:14 +02:00
2018-04-24 09:34:09 +02:00
2018-07-03 11:23:14 +02:00
2015-04-13 21:05:17 +02:00
2018-04-13 19:47:52 +02:00
2016-07-29 23:31:54 +02:00
2016-10-02 22:48:14 +02:00
2015-10-03 20:09:41 +02:00
2016-10-02 22:48:14 +02:00
2016-10-02 22:48:14 +02:00
2015-03-26 22:47:38 +01:00