commit | 11c7e0e2f91fdfdf9f7b4d107bc93d6c298c95fe | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Fri Aug 14 01:37:47 2015 +0300 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Aug 18 17:33:34 2015 -0700 |
tree | 534bb5782d5f6437fffe434cc81f22fc60973cb4 | |
parent | af83a67cad1452d48ecd77792f9218f26c445650 [diff] |
mtd: nettel: do not ignore mtd_device_register() failure in nettel_init() 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@ispras.ru> Signed-off-by: Brian Norris <computersforpeace@gmail.com>