Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3133354pxk; Mon, 28 Sep 2020 09:07:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmBAJX969oeG0vXNi+2eX06wB3ntOnu2bDP2RJnUvN7LDkEh8w9wHS2vytwYvPT1FJ/l9B X-Received: by 2002:aa7:c155:: with SMTP id r21mr2668093edp.140.1601309250331; Mon, 28 Sep 2020 09:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601309250; cv=none; d=google.com; s=arc-20160816; b=tAMve3F4j+Ky5KUe3VIVSIP5CtSzG7wSNLNuwR0Ne0qJ1UWXtwfbjRNM8MUr/LgcSc kIVB6/Hxy5Guw1lZY/Q1Dr2UlUp2GDQk3qchxfvBaFS1v0pmfx5DzUtakeB4Ya0ZGmEa 42qIW9h4H/fEVaf1CDS2DIabM3/FKarnA8nqbxkLqhvGHoovhsGI4XBvce2FhgO7WL18 dC1PzE7TZVUL9Z2ZBSC62KTslsRBTg9Fak6aPg1sdO/b7jYTc5kEdpDX6ejuF2NxiNsB DwbNcIaHa3a6wAjYjNm+YZKLNe7a4ejaAoEQTOSUUFtxxv1PofPfFSY0u3GfetNzf3Bb TM/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=Ukf3jYOB2T3zWlou7pZ9zNZz88hTEqPtURcV/+tU8TU=; b=f8NWoyaf8LZohl3/OfLUYD53H79OmEnaXdng6yjfhnmTVV5exzXwDBxRU6nW+Y80RD K+EXAjWoWn72bzC3O96w21vSdT1st2HOiAwROm+aJQA3/5HmAqLvC4m0XqOqvGqoHUuf ho9JOO9JqsgwN12mKqSNZLZbiD8yXwho52zzSFyKVsF4s6+Snh8Xx53nkB+6yCQcr8Zf Af23OjbOpe8J8PG5pYgm837/Gy+0JsK3g+VV8TdO/Rcrj4zZuu5o/XkUaZRElpSG+cvX sM4JDX07uCM7BfYf6rw0kvoiZ1m8DlWEhRVBLbRvjEy+lqTpasQ3L2Joi6ExrFwA+LXz 0bGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n25si833910edt.464.2020.09.28.09.07.04; Mon, 28 Sep 2020 09:07:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbgI1QDt (ORCPT + 99 others); Mon, 28 Sep 2020 12:03:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726424AbgI1QDt (ORCPT ); Mon, 28 Sep 2020 12:03:49 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4424C061755 for ; Mon, 28 Sep 2020 09:03:48 -0700 (PDT) Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 3C3B5297FEC; Mon, 28 Sep 2020 17:03:47 +0100 (BST) Date: Mon, 28 Sep 2020 18:03:43 +0200 From: Boris Brezillon To: Miquel Raynal Cc: Thirumalesha N , Richard Weinberger , Vignesh Raghavendra , Shivamurthy Shastri , Chuanhong Guo , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/2] mtd: spinand: micron: Generalize the function and structure names Message-ID: <20200928180343.4c5302a5@collabora.com> In-Reply-To: <20200928175005.48783b61@xps13> References: <20200913161533.10655-1-nthirumalesha7@gmail.com> <20200913161533.10655-2-nthirumalesha7@gmail.com> <20200915101321.1afa5033@xps13> <20200928165528.54e5db6e@xps13> <20200928174505.75fda272@collabora.com> <20200928175005.48783b61@xps13> Organization: Collabora X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Sep 2020 17:50:05 +0200 Miquel Raynal wrote: > > > The way OOB > > > bytes are organized do not seem relevant to me, I think i prefer the > > > "_4_/_8_" naming,even if it's not very explicit. > > > > The ECC strength doesn't say anything about the scheme used for ECC > > bytes placement, and you might end up with 2 different schemes > > providing the same strength, or the same scheme used for 2 different > > strengths. > > So perhaps both should be present in the name? No, the point was to re-use the same functions for various strengths if they use the same ECC placement scheme.