Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp704717lqb; Fri, 15 Mar 2024 04:23:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKPpRIkESti7TA9os31DwSGTMuHT88P1OuOHT/cNuuBG4EuotUnIpA4IZHhmA9JDejgxnpZF2Q3ZJ83uIG1IAjgzh8FrcSqvFR9ZVkrg== X-Google-Smtp-Source: AGHT+IECd8qfiih4AHk7/sndAIybKptxat3RB6BcbW9Pw/HWgsW0r+mU6BhdtLLATxAk/xnI3LEG X-Received: by 2002:ac8:5e49:0:b0:42e:f4aa:e737 with SMTP id i9-20020ac85e49000000b0042ef4aae737mr4329706qtx.50.1710501805645; Fri, 15 Mar 2024 04:23:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710501805; cv=pass; d=google.com; s=arc-20160816; b=GGYt4WZOCz04wqatAQ9IRSphIVCEhQ8SHUDvIFgZjQToF8klYWDVu+KLSFSkLDi1xA 5mLjtkKxA9suaQdJ7ZhfJbCMT8NAPtgR7FdrBA/IVwog9ATLDMq79b134ealAZWkYwQP eFuUFnzpGy6bHKX1PfPROKDNnZD0oeiFIpJNA/or3DGZoGWGClLVhMHHYGNuPlV/F9S8 ZRwGfJsE5E5iMh2E5tcxgVUwXztTXCc8qD5DYdPXjdoeZxHwvd23M7FvJHOGUZJALrsd mMUvML1TQAVGEc41DHKTfqIRK0rjbxPWwmTVeNwSJzOiHWmTNolbVXndC/ZCHWnV7HHz SYyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=GeTP5bEePyOuvebkB0BuN2D/O1tfYQC98LPeBAAStZ0=; fh=HbnzddCjVkqVuWhUTcEVe3xqnucVzo2RAN9tglk4cjs=; b=Y13WmDgvQ6hNDcgaLtHDuLZft67iuSrKTrXcRaJwbPz9weOYPfelov6ONZy9TCW8Zb R11p0K/vCaqqs6VGX2AkSfgDpgqCz4BsL6TiUpGdEm3zdFMA4IEEOVOVHEZ4kKY0KlC6 wxJjOOz4Nyew60hroR0pfVq0bGj+EXpQMIP6O7BBiCR08jQYGHbKVFD4QDRTzO8PjiV9 3t/1kTRSvOyoHZxla/N0PT5Iz4h1Id24/b5CDlXU5TN56/0oqTkE01xdyQroS2PcJDBu VS1VD01UeHCV4Gwj+8OgLtzeIKLdVLKdpsqRNfVi3v7LjKb9G6C1wBS1DConXCneX55m ch1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=O8xB4puM; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-104329-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104329-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p12-20020a05622a13cc00b0042f1b27c480si3556328qtk.520.2024.03.15.04.23.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 04:23:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104329-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=O8xB4puM; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-104329-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104329-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5FFF91C21725 for ; Fri, 15 Mar 2024 11:23:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29E721B597; Fri, 15 Mar 2024 11:23:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="O8xB4puM" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 118FD1B270 for ; Fri, 15 Mar 2024 11:23:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710501799; cv=none; b=U/mt9ILtvmfan5/dmRdOkLQt3M4obuvSV3PPYMgvm1Pfn0NPikE4tq28AhxjaJYpJZQcbLS74IngwfRRcTGB5HYZat/RoWugVaj1Mp5Kv1RqKAXYF1d6oDSGUBhSrlIvRXbiXjWzQy6LZx8bTQCmgKgNK096YwS1lTvB14AcwNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710501799; c=relaxed/simple; bh=GeTP5bEePyOuvebkB0BuN2D/O1tfYQC98LPeBAAStZ0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=igPBhCt4wrUp/dKMhamT/w0dnpD/Jds/v2J2fxPPQviUhT/B9K7VKdTCWYvZ7PBpqWQ9lEr1P6J3qpGvH6DjYRjVQktkZeBxDQptqOmQANU8j91eqqtVlqxvEBwN0cdPIq2b25/RujdwK4q+xBL5UbQfHKw3TcM5o/lj4Kyjr0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=O8xB4puM; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id EE1931BF20A; Fri, 15 Mar 2024 11:23:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1710501795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GeTP5bEePyOuvebkB0BuN2D/O1tfYQC98LPeBAAStZ0=; b=O8xB4puMENYwa+EjCH2boH1SitdEbL/XA/R5/ByNThfteRuIeh2MdiOGpcI9gtNJLWe0tF P9ucX5Yj9bCcU4wC3JHLxTtp7Dwa+8VJII8Wowj9RTzNIlAsSqCiKZaboNH4HoZtF7SuBB GrRDum97E0Y03NMyqdzln/E17SDUVVB23JvddCoB++VRkblV1Oxv9MVa4YA47+Hnvzwvds SYMTn4/Qxhe1TBnoOB+c/As8bWT+xjjL3JgrQNMbVDj7SSBPVMT+idAJ/ij1xjomXcLPy7 1r2Gi/mgza/HFMm96WhwfxhdVJwujA0KrO0l8VXhrhRzNvHClGdTRZg75baoFg== Date: Fri, 15 Mar 2024 12:23:14 +0100 From: Miquel Raynal To: Maxim Korotkov Cc: Boris Brezillon , Richard Weinberger , Vignesh Raghavendra , Hector Palacios , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Subject: Re: [PATCH] mtd: rawnand: hynix: fixed typo Message-ID: <20240315122314.10c88c2e@xps-13> In-Reply-To: <20240313102721.1991299-1-korotkov.maxim.s@gmail.com> References: <20240313102721.1991299-1-korotkov.maxim.s@gmail.com> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi Maxim, korotkov.maxim.s@gmail.com wrote on Wed, 13 Mar 2024 13:27:20 +0300: > The function hynix_nand_rr_init() should probably return an error code. > Judging by the usage, it seems that the return code is passed up=20 > the call stack. > Right now, it always returns 0 and the function hynix_nand_cleanup() > in hynix_nand_init() has never been called. Isn't it done like that on purpose? Read-retry is not a mandatory feature. > Found by RASU JSC and Linux Verification Center (linuxtesting.org) >=20 > Fixes: 626994e07480 ("mtd: nand: hynix: Add read-retry support for 1x nm = MLC NANDs") >=20 > Signed-off-by: Maxim Korotkov > --- Thanks, Miqu=C3=A8l