[PATCH 00/22] mtd: nand: return error code of nand_scan(_ident, _tail) on error
Marek Vasut
marek.vasut at gmail.com
Sat Nov 5 18:34:26 AEDT 2016
On 11/04/2016 11:42 AM, Masahiro Yamada wrote:
>
> nand_scan(), nand_scan_ident(), nand_scan_tail() return
> an appropriate negative value on error.
>
> Most of drivers return the value from them on error,
> but some of them return the fixed error code -ENXIO
> (and a few return -ENODEV).
>
> This series make those drivers return more precise error code.
>
Reviewed-by: Marek Vasut <marek.vasut at gmail.com>
Nice cleanup, thanks!
--
Best regards,
Marek Vasut
More information about the Linuxppc-dev
mailing list