Skip to content
Commit 1b8c9098 authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Boris Brezillon
Browse files

mtd: nand: vf610: check mtd_device_register() return code



vf610_nfc_probe() misses error handling of mtd_device_register().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
parent 196644fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment