From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abhishek Sahu Subject: Re: [PATCH 5/9] mtd: nand: qcom: parse read errors for read oob also Date: Thu, 12 Apr 2018 12:40:13 +0530 Message-ID: <8342d92074d94d98106f29ea40f779f4@codeaurora.org> References: <1522845745-6624-1-git-send-email-absahu@codeaurora.org> <1522845745-6624-6-git-send-email-absahu@codeaurora.org> <20180410120338.663d5925@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180410120338.663d5925@xps13> Sender: linux-kernel-owner@vger.kernel.org To: Miquel Raynal Cc: Boris Brezillon , Archit Taneja , Richard Weinberger , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Marek Vasut , linux-mtd@lists.infradead.org, Cyrille Pitchen , Andy Gross , Brian Norris , David Woodhouse List-Id: linux-arm-msm@vger.kernel.org On 2018-04-10 15:33, Miquel Raynal wrote: > Hi Abhishek, > > On Wed, 4 Apr 2018 18:12:21 +0530, Abhishek Sahu > wrote: > >> read_page and read_oob both calls the read_page_ecc function. >> The QCOM NAND controller protect the OOB available bytes with >> ECC so read errors should be checked for read_oob also. Now >> this patch moves the error checking code inside read_page_ecc >> so caller does not have to check explicitly for read errors. >> >> Signed-off-by: Abhishek Sahu > > Nitpick: the prefix should be "mtd: rawnand: qcom: " now as this driver > has been moved to drivers/mtd/nand/raw/. > > Otherwise: > Reviewed-by: Miquel Raynal Thanks Miquel for your review. I will update the same in this patch and other patches. and rebase my patches over 4.17-rc1 once its available. Thanks, Abhishek