diff options
author | Alexey Khoroshilov | 2015-08-14 00:37:47 +0200 |
---|---|---|
committer | Brian Norris | 2015-08-19 02:33:34 +0200 |
commit | 11c7e0e2f91fdfdf9f7b4d107bc93d6c298c95fe (patch) | |
tree | 534bb5782d5f6437fffe434cc81f22fc60973cb4 /drivers/mmc | |
parent | mtd: denali_pci: switch to dev_err() (diff) | |
download | kernel-qcow2-linux-11c7e0e2f91fdfdf9f7b4d107bc93d6c298c95fe.tar.gz kernel-qcow2-linux-11c7e0e2f91fdfdf9f7b4d107bc93d6c298c95fe.tar.xz kernel-qcow2-linux-11c7e0e2f91fdfdf9f7b4d107bc93d6c298c95fe.zip |
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/mmc')
0 files changed, 0 insertions, 0 deletions