summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/tests
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2015-08-14 01:37:47 +0300
committerBrian Norris <computersforpeace@gmail.com>2015-08-18 17:33:34 -0700
commit11c7e0e2f91fdfdf9f7b4d107bc93d6c298c95fe (patch)
tree534bb5782d5f6437fffe434cc81f22fc60973cb4 /drivers/mtd/tests
parentaf83a67cad1452d48ecd77792f9218f26c445650 (diff)
downloadlinux-11c7e0e2f91fdfdf9f7b4d107bc93d6c298c95fe.tar.bz2
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>
Diffstat (limited to 'drivers/mtd/tests')
0 files changed, 0 insertions, 0 deletions