Re: [PATCH v2] mtd: nand: vf610: fix error handling in vf610_nfc_probe()

2018-01-06 Thread Boris Brezillon
On Sat, 23 Dec 2017 22:18:26 +0300 Alexey Khoroshilov wrote: > vf610_nfc_probe() misses error handling of mtd_device_register(). > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov > --- > v2: Add nand_cleanup() to undone nand_scan_tail() as

Re: [PATCH v2] mtd: nand: vf610: fix error handling in vf610_nfc_probe()

2018-01-06 Thread Boris Brezillon
On Sat, 23 Dec 2017 22:18:26 +0300 Alexey Khoroshilov wrote: > vf610_nfc_probe() misses error handling of mtd_device_register(). > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov > --- > v2: Add nand_cleanup() to undone nand_scan_tail() as

[PATCH v2] mtd: nand: vf610: fix error handling in vf610_nfc_probe()

2017-12-23 Thread Alexey Khoroshilov
vf610_nfc_probe() misses error handling of mtd_device_register(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- v2: Add nand_cleanup() to undone nand_scan_tail() as Boris Brezillon noted. drivers/mtd/nand/vf610_nfc.c | 25 +++--