Received: by 10.192.165.156 with SMTP id m28csp1631116imm; Thu, 12 Apr 2018 00:17:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx492wHK7UBBHMU6TP+NMY7Vhlw8etVWmLBzZDmVTg8h6Kydo0QwSoXhkAn9M704K29heqPKG X-Received: by 2002:a17:902:2863:: with SMTP id e90-v6mr8651804plb.58.1523517451885; Thu, 12 Apr 2018 00:17:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523517451; cv=none; d=google.com; s=arc-20160816; b=bgk8NmOReZRy++72Ts4qR+dqpRV6OY40GkdYRh+3tAHrFyAMxkVk7Fp2oeYnKlo0gZ 2nx3SZ+k+SFzf17Mc6xj8scXOg10dR3tVOfS74OGO8/65Ff2paj8NIsT9IllJh+i4xK1 CF6qGKVdrX4LD4+7U4JMUo4ANxZSP0i8dhHSu7HpBPyzYSdX4ES9sARGaLgl/B8KOq1Y gzbb2OLOF0EBvrMDVtQPGlyMDGWoWwbYtZjBafQllbbLbcot9HlGdy7rLtNX4SssGkoy uZGXvgHGINgX4idM8k/zJxlkpuQU99OXFj4yhtpQKyftAhDOL6IAqlhHl+Z59VJ2VhBM ESdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=z0/qn55Zo+i1VzMKQxTJOeIE7pojfxHEPxSeLne4G1Q=; b=pGfUlmklnFJ7QKihKSJDjnqDOQIaNBisjs6w9c8t2zRzMrWpmVdkmgSj3FFIO8tFLa zf+V+ERKRiq9FivnEZs7cV8sizVMrhhKYuw2909vE2b45GsSEKy9jqKYNaFoO0KbshZx nxLSLf5pC2+9NmbN744hWSygXc5fWUyB7W1dqWlasVhPq6i6gwZpJif7YYuoLS1u3JX3 ETCNJw07pJyivHnDXgiil0CcMK3iNwqO7vr63EURB3iE+6v+SB8vzF+ROkq09YT/b9Jt yVQwUxnZv3RsUXTCBmg75I/VuibXOvJvU2uLYjDjQ+4dztdg8+MsWPKP9T5z1Yk4Q0JX gKeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=SYRZs6bh; dkim=pass header.i=@codeaurora.org header.s=default header.b=ljsXB1uQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11si2132819pfi.406.2018.04.12.00.16.55; Thu, 12 Apr 2018 00:17:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=SYRZs6bh; dkim=pass header.i=@codeaurora.org header.s=default header.b=ljsXB1uQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752821AbeDLHKR (ORCPT + 99 others); Thu, 12 Apr 2018 03:10:17 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:46396 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751909AbeDLHKP (ORCPT ); Thu, 12 Apr 2018 03:10:15 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id ED58760F91; Thu, 12 Apr 2018 07:10:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523517014; bh=q9b9gtxyeefiFtYNSfADjRcCPWTI2j3XAcwpAFzsA5M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SYRZs6bhgJlipEWonM+44X2J3oRfXi5NnmxjdDfGyziTYdePgMDm+cnacURTuzp/w mAvyq4gigQHpQ8vVp849CEu+IQ6jjE8YJYZskVE4cTNFfGD3XsxmpYYLbi/owO3laO kBuutDBEgLUimhECh7BziicN3sGo8Zh3rUzKgS9A= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id BE79E60A4E; Thu, 12 Apr 2018 07:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523517013; bh=q9b9gtxyeefiFtYNSfADjRcCPWTI2j3XAcwpAFzsA5M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ljsXB1uQiJJf1Y7t/eS1P7PvVJMX94pPjrzbcGRvEYuEukyUg7g85d2fxarUfTjT6 Zl2Z15H5UnP8M/PPwfZIqDi0nQCkq2mQJIQ8kfzI88IzNcuSxcO/tIxnDBI9Ulo1dn Ri4x/FJabX7hmSg05lj218+HasBsIj2ZfkX7yIRI= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 12 Apr 2018 12:40:13 +0530 From: Abhishek Sahu 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 Subject: Re: [PATCH 5/9] mtd: nand: qcom: parse read errors for read oob also In-Reply-To: <20180410120338.663d5925@xps13> References: <1522845745-6624-1-git-send-email-absahu@codeaurora.org> <1522845745-6624-6-git-send-email-absahu@codeaurora.org> <20180410120338.663d5925@xps13> Message-ID: <8342d92074d94d98106f29ea40f779f4@codeaurora.org> X-Sender: absahu@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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