Re: [PATCH 00/22] mtd: nand: return error code of nand_scan(_ident,_tail) on error

2016-11-06 Thread Boris Brezillon
On Fri, 4 Nov 2016 19:42:48 +0900 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

Re: [PATCH 00/22] mtd: nand: return error code of nand_scan(_ident, _tail) on error

2016-11-05 Thread Marek Vasut
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). > >

[PATCH 00/22] mtd: nand: return error code of nand_scan(_ident, _tail) on error

2016-11-04 Thread Masahiro Yamada
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.