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

From
Marek Vasut <hidden>
Date
2016-11-05 07:36:09
Also in
linux-arm-kernel, linux-mediatek, lkml
Reply to
Masahiro Yamada, 2016-11-04
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 <redacted>

Nice cleanup, thanks!

-- 
Best regards,
Marek Vasut
Thread (4 messages) 4 messages, 3 authors, last reply 2016-11-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help