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: NAlexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: NStefan Agner <stefan@agner.ch> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
Showing
想要评论请 注册 或 登录