Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754162AbcKEHgJ (ORCPT ); Sat, 5 Nov 2016 03:36:09 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35515 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbcKEHf5 (ORCPT ); Sat, 5 Nov 2016 03:35:57 -0400 Subject: Re: [PATCH 00/22] mtd: nand: return error code of nand_scan(_ident, _tail) on error To: Masahiro Yamada , linux-mtd@lists.infradead.org References: <1478256190-7452-1-git-send-email-yamada.masahiro@socionext.com> Cc: Boris Brezillon , Richard Weinberger , Kamal Dasu , Josh Wu , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Stefan Agner , Vladimir Zapolskiy , Wenyou Yang , linux-mediatek@lists.infradead.org, Ezequiel Garcia , Sylvain Lemieux , Matthias Brugger , bcm-kernel-feedback-list@broadcom.com, Brian Norris , David Woodhouse , linux-arm-kernel@lists.infradead.org From: Marek Vasut Message-ID: <7970b05b-a5d4-4149-ba80-f6d19a145c6d@gmail.com> Date: Sat, 5 Nov 2016 08:34:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <1478256190-7452-1-git-send-email-yamada.masahiro@socionext.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 467 Lines: 19 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 Nice cleanup, thanks! -- Best regards, Marek Vasut