[PATCH] mtd: nettel: do not ignore mtd_device_register() failure in nettel_init()

Brian Norris computersforpeace at gmail.com
Tue Aug 18 17:41:58 PDT 2015


On Fri, Aug 14, 2015 at 01:37:47AM +0300, Alexey Khoroshilov wrote:
> If mtd_device_register() fails in nettel_init(), iomap left mapped.
> 
> The patch adds failure handling for mtd_device_register().
> 
> Found by Linux Driver Verification project (linuxtesting.org).
> 
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>

Applied to l2-mtd.git



More information about the linux-mtd mailing list