Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751356AbcKFBhU (ORCPT ); Sat, 5 Nov 2016 21:37:20 -0400 Received: from mleia.com ([178.79.152.223]:42623 "EHLO mail.mleia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751001AbcKFBhT (ORCPT ); Sat, 5 Nov 2016 21:37:19 -0400 Subject: Re: [PATCH 13/22] mtd: nand: lpc32xx: 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> <1478256190-7452-14-git-send-email-yamada.masahiro@socionext.com> Cc: Sylvain Lemieux , linux-kernel@vger.kernel.org, Boris Brezillon , Brian Norris , Richard Weinberger , David Woodhouse , linux-arm-kernel@lists.infradead.org From: Vladimir Zapolskiy Message-ID: Date: Sun, 6 Nov 2016 03:37:06 +0200 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-14-git-send-email-yamada.masahiro@socionext.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20161106_013717_904471_7FB4BF66 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 352 Lines: 14 On 11/04/2016 12:43 PM, Masahiro Yamada wrote: > The nand_scan_ident/tail() returns an appropriate error value when > it fails. Use it instead of the fixed error code -ENXIO. > > Signed-off-by: Masahiro Yamada > --- Acked-by: Vladimir Zapolskiy Thank you for the change. -- With best wishes, Vladimir