From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66F89C76196 for ; Tue, 28 Mar 2023 16:52:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230326AbjC1QwF convert rfc822-to-8bit (ORCPT ); Tue, 28 Mar 2023 12:52:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjC1QwB (ORCPT ); Tue, 28 Mar 2023 12:52:01 -0400 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7763F61B5; Tue, 28 Mar 2023 09:51:59 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 64FC161989E6; Tue, 28 Mar 2023 18:51:57 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id rSqEHlFbiw2K; Tue, 28 Mar 2023 18:51:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id A0DF061989F6; Tue, 28 Mar 2023 18:51:56 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id G1mmPBPF4NNz; Tue, 28 Mar 2023 18:51:56 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 75C9361989E6; Tue, 28 Mar 2023 18:51:56 +0200 (CEST) Date: Tue, 28 Mar 2023 18:51:56 +0200 (CEST) From: Richard Weinberger To: Bang Li Cc: Miquel Raynal , Vignesh Raghavendra , linux-mtd , linux-kernel , stable Message-ID: <1646372169.361736.1680022316353.JavaMail.zimbra@nod.at> In-Reply-To: <20230328163012.4264-1-libang.linuxer@gmail.com> References: <20230328163012.4264-1-libang.linuxer@gmail.com> Subject: Re: [PATCH v2] mtdblock: tolerate corrected bit-flips MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: mtdblock: tolerate corrected bit-flips Thread-Index: ouKfcIuIMflG9wXsCuCDxoFYiHDGng== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > Von: "Bang Li" > An: "Miquel Raynal" , "richard" , "Vignesh Raghavendra" > CC: "linux-mtd" , "linux-kernel" , "Bang Li" > , "stable" > Gesendet: Dienstag, 28. März 2023 18:30:12 > Betreff: [PATCH v2] mtdblock: tolerate corrected bit-flips > mtd_read() may return -EUCLEAN in case of corrected bit-flips.This > particular condition should not be treated like an error. > > Signed-off-by: Bang Li > Fixes: e47f68587b82 ("mtd: check for max_bitflips in mtd_read_oob()") > Cc: # v3.7 > --- Acked-by: Richard Weinberger Thanks, //richard