Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2308114ybd; Thu, 27 Jun 2019 10:09:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNQ4hpsEwR/DTU9NggCaTe/HZgDlRYnftnNQtzvS4iY+jK1RbXYJsWGgqIlaKSBI0Jq8+F X-Received: by 2002:a17:90a:d80b:: with SMTP id a11mr6925360pjv.53.1561655349108; Thu, 27 Jun 2019 10:09:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561655349; cv=none; d=google.com; s=arc-20160816; b=l9kZznLpkaDPXXPautX2UxgLI4sum8jGGT9lyIHR1PY+Ti3rMiXfxItApg9aWt2UsS t0ASY3z3IPPtp0Vovf4pD9CLFDEhF3UfhmH6Slr7vcaQSAXptmpP2sUnTwRC0nkeBDoB QhW/jXZF0oMqAhPU+8DyoTMyy4WPLf9Dg7VVNWpJRDv3XtFIuDy0MUAUqgOUy4aJbjU8 ps+s4DUwY68Y8zWl1jXmz6uy7tIktBjzLQT2ciih3y1iqSt8No1gBBb+yK+m1w3V9x9c 7fO4ePdB/Ld9N/2KIaQUjVOWZH7NlQiwE3qxCZASH5YIf4ObikTd0tBvjJwcegKwsAH3 iUFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=sWg83jtFZPfvkwjvIw3ePWl4ltLDvceupj0FKzlBeIc=; b=iIu7EWHbB/DBoQhJv7iXXUT9Cf45GB3J07n2cIBrTDSQtPfE/dM+0aIweBIPyoCSPR pAzPiNCzCtj7MKxlqEaRTtn2eFtE5UiJvOBSMARu0oWh39CUmUrA//GkdKpNHG1i9gd4 7lN6uHxCQURqp9V0woHmpuDkpmYLd7b3bqbJu26PRqunsycQJn7x4j2p4uulH/4iDRE7 BNXEq+WbO5SKygrpweoZtqiZFMrwv6zKt9ChFc/GGlCY5YCC0SWzSUAE95bJLV6/Ap8x LCJc8D6OwDKlcGEyIBa+wfKmiM+mbvcIfDdnQ/zrcWzBeSK3K+qlk2XhjqpMjcNT4J7U GtEg== ARC-Authentication-Results: i=1; mx.google.com; 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 f89si62208pje.50.2019.06.27.10.08.52; Thu, 27 Jun 2019 10:09:09 -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; 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 S1726616AbfF0RGz convert rfc822-to-8bit (ORCPT + 99 others); Thu, 27 Jun 2019 13:06:55 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:48951 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbfF0RGz (ORCPT ); Thu, 27 Jun 2019 13:06:55 -0400 Received: from xps13 (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 8FDC2240003; Thu, 27 Jun 2019 17:06:46 +0000 (UTC) Date: Thu, 27 Jun 2019 19:06:44 +0200 From: Miquel Raynal To: Schrempf Frieder Cc: liaoweixiong , Greg KH , Vignesh Raghavendra , Boris Brezillon , "Richard Weinberger" , "linux-kernel@vger.kernel.org" , Chuanhong Guo , "Marek Vasut" , "linux-mtd@lists.infradead.org" , "stable@vger.kernel.org" , Brian Norris , David Woodhouse Subject: Re: [RESEND PATCH v2] mtd: spinand: read return badly if the last page has bitflips Message-ID: <20190627190644.25aaaf31@xps13> In-Reply-To: <97adf58f-4771-90f1-bdaf-5a9d00eef768@kontron.de> References: <1561424549-784-1-git-send-email-liaoweixiong@allwinnertech.com> <20190625030807.GA11074@kroah.com> <97adf58f-4771-90f1-bdaf-5a9d00eef768@kontron.de> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Schrempf Frieder wrote on Tue, 25 Jun 2019 07:04:06 +0000: > Hi liaoweixiong, > > On 25.06.19 05:08, Greg KH wrote: > > On Tue, Jun 25, 2019 at 09:02:29AM +0800, liaoweixiong wrote: > >> In case of the last page containing bitflips (ret > 0), > >> spinand_mtd_read() will return that number of bitflips for the last > >> page. But to me it looks like it should instead return max_bitflips like > >> it does when the last page read returns with 0. > >> > >> Signed-off-by: liaoweixiong Please write your entire official first/last name(s) > >> Reviewed-by: Boris Brezillon > >> Reviewed-by: Frieder Schrempf I am waiting your next version with Acked-by instead of Rewieved-by tags and Greg's comment addressed. > >> Fixes: 7529df465248 ("mtd: nand: Add core infrastructure to support SPI NANDs") Finally, when we ask you to resend a patch, it means sending a new version of the patch. So in the subject, you should not use the [RESEND] keyword (which means you are sending something again exactly as it was before, you just got ignored, for example) but instead you should increment the version number (v3) and also write a nice changelog after the three dashes '---' (will be ignored by Git when applying). I would like to queue this for the next release so if you can do it ASAP, that would be great. Thank you, Miquèl