Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2071137ybf; Mon, 2 Mar 2020 01:13:21 -0800 (PST) X-Google-Smtp-Source: ADFU+vsx09e+y+pytuk2v0uXFj1Rg5nYG7n1mIvmffokNr3uCXOGL3cofEKnCyXA3BamL5sFKVNw X-Received: by 2002:aca:4fd5:: with SMTP id d204mr162242oib.76.1583140401074; Mon, 02 Mar 2020 01:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583140401; cv=none; d=google.com; s=arc-20160816; b=Xg76rNbz6ydPg6Gy1g8WhaFNC3jTVYUM2vGzsjssBlRO7lw+txc7JtQK/eslMrgT5q 6UT7gsM0guqTYt6zszz89RTT0Dz90Y+C3McMo4qKo+1rS+xrGaW+imODLQ5pLLzFl7l5 5WdaCl90Dt3EpnNezexJVMV71gy9bTAA9BLvsFvq1MgBjH0fIaWBUELgG4ivrPJrqNmX k/Ip/0dG60z0jN8yqqB7RmpSSR4rh+BnB38SjAeSXgaycYn5c9McSesrzPe4GmS6G7dX +tbp/nZUwRQ2sQ8O1zDdcUVX9ZE9tuUgEEgVFZ+sqwq/bZKvPlCRmzVFMVh6c7YEROS2 mjyg== 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=O7rtjiia+6OMRz21ArASHQDWjQj4zAr396XebswozcQ=; b=03N0/F2aGo3AZ1ghFxZSgAphsqXYHTCt5HgtW0dYOAvltsrbT0q0SoMScz2gTr2rvy EVfOJVOaE3k6f1sdqGrvLBItP4zBwNnN19j+5AAGAxfSRZT6YXScS5v1QemEJe0UD8RG sJsFNi/bWj2n05+xLwzbfJxP6TICN1KiFZwyvo++XM14oNXIFZ6IqqsIUj3ogxDuY9lS NmEGeVgHQDpRU9hMBsrZHLxmqyb5LDu3dYaeUkrrrVttChfI+t26D2SGf9hvhCune7sf dizv/hZE8SA7ONyXwoGmlEITdfzhjcZUlO/kO1xxN+uqRMn18I2PuDm+CXA964nvpCdE MdfA== 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 z10si6355366oth.325.2020.03.02.01.13.08; Mon, 02 Mar 2020 01:13:21 -0800 (PST) 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 S1726728AbgCBJM6 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 2 Mar 2020 04:12:58 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:54959 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbgCBJM6 (ORCPT ); Mon, 2 Mar 2020 04:12:58 -0500 Received: from xps13 (lfbn-tou-1-1473-158.w90-89.abo.wanadoo.fr [90.89.41.158]) (Authenticated sender: miquel.raynal@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id E8381100002; Mon, 2 Mar 2020 09:12:55 +0000 (UTC) Date: Mon, 2 Mar 2020 10:12:54 +0100 From: Miquel Raynal To: Schrempf Frieder Cc: Yoshio Furuyama , "vigneshr@ti.com" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 1/2] mtd: spinand: toshiba: Rename function name to change suffix and prefix (8Gbit) Message-ID: <20200302101254.31ca0c83@xps13> In-Reply-To: References: <41b30e2d308ec7f252d71970a2ed1c29cd25c0d7.1582603241.git.ytc-mb-yfuruyama7@kioxia.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.4 (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 Mon, 2 Mar 2020 08:02:25 +0000: > On 28.02.20 04:11, Yoshio Furuyama wrote: > > The suffix was changed to classify from "g" to "j" between 1st generation > > device and 2nd generation device that's new Serial NAND of Kioxia brand. > > I had to read this sentence multiple times to understand it. Maybe > something like this would be better: > > The suffix was changed from "g" to "j" to classify between 1st > generation and 2nd generation serial NAND devices (which now belong to > the Kioxia brand). > > > As reference that's > > 1st generation device of 1Gbit product is "tc58cvg0s3hraig" > > 2nd generation device of 1Gbit product is "tc58cvg0s3hraij". > > > > The 8Gbit product "TH58CxG3S0HRAIJ" is new line up of Kioxia's serial nand > > and changed the prefix from tc58 to th58. > > Thus it was changed argument to the function from "tc58cxgxsx" to > > "tx58cxgxsxraix". > > Same here. It is very hard to read. I would write something like this: > > The 8Gbit type "TH58CxG3S0HRAIJ" is new to Kioxia's serial NAND lineup > and the prefix was changed from "TC58" to "TH85". > > Thus the functions were renamed from tc58cxgxsx_*() to > tx58cxgxsxraix_*(). > > With an easier to understand commit message: > > Reviewed-by: Frieder Schrempf Agreed, the commit log proposal from Frieder looks better. The rest of the patch is fine by me though. Thanks, Miquèl