Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp498916yba; Wed, 15 May 2019 05:12:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxR80M4KCuyRdyI8I1zhqYsufwLhlWh91+5KoK5lYzvop11a0vck1N6KjcRaim6G9mWTGwC X-Received: by 2002:a17:902:3143:: with SMTP id w61mr36449056plb.292.1557922359287; Wed, 15 May 2019 05:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557922359; cv=none; d=google.com; s=arc-20160816; b=0HUvBMvow4+RiLAkdaXyhvmrsPf8Le+R+utPPQBZQoiG9jXFwizXy2gEFvV5oFmZ3k aZ4iohuBWO/KtYT1sD15PoEvF3MXlsKRmsgXuoJVzyRNp10jKfnqE1StCaigqUY/EVx8 Mr6bbnTZv4bUCU5jrC99hnHTqzjYWUXHz+3QCTN97HDcbqj9uXieKU/FIwDFZVxuU6An 7/VZM5jhGWdubHdMj83uaK3I4vDO6+HjFXwnunKZIrgLp4K8GN/JnN8JupdCMjQriLQO B/jzLybhfXPEDZZq8jlXrw7KhAgpMS4D4kzpY5l0E1w3QyYn3KEXxyr/TZizX56R67Ld SbIw== 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=P7CANls1ml6irMKR5amOzOzfh19S6/In/eNpneS7HVU=; b=DbBf/TGeKCz1eAf/Wytoxln9ZgAkNfb0/awZP5hkf4URHDsWqTD1BjusxCrc/x7/Pf +xWtGoX80WMuo6B3gjjQRGeR5UY1nvKMcin3Kl0ZoIwxjT3Sdman8vC8lhbaQBMAWOqI krn5nO/JnTFMf+R0rTVRpF9zs3zysnM2bESKRIzovy+B65rTsyg5uZM5A9u4HSoPezkl ZQQSIt0R7a/9+aDiyi8D9ZAvbouqHRTm6CdaxtXev2uCLAWNONS9xcvRkSshrPRAAYfC PLgNCBLVyvErckIfxS/gBWZa1At2ZsuhpbS4eNk910n0paxtxHq7XXuSyViErigf/oUI J+lw== 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 p15si1547059plo.310.2019.05.15.05.12.24; Wed, 15 May 2019 05:12:39 -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 S1729489AbfEOMJK convert rfc822-to-8bit (ORCPT + 99 others); Wed, 15 May 2019 08:09:10 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:49093 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729362AbfEOMJJ (ORCPT ); Wed, 15 May 2019 08:09:09 -0400 X-Originating-IP: 77.136.197.83 Received: from xps13 (83.197.136.77.rev.sfr.net [77.136.197.83]) (Authenticated sender: miquel.raynal@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 981291C0013; Wed, 15 May 2019 12:08:59 +0000 (UTC) Date: Wed, 15 May 2019 14:08:58 +0200 From: Miquel Raynal To: masonccyang@mxic.com.tw Cc: bbrezillon@kernel.org, broonie@kernel.org, christophe.kerello@st.com, computersforpeace@gmail.com, devicetree@vger.kernel.org, dwmw2@infradead.org, geert@linux-m68k.org, juliensu@mxic.com.tw, lee.jones@linaro.org, liang.yang@amlogic.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, marcel.ziswiler@toradex.com, marek.vasut@gmail.com, mark.rutland@arm.com, paul.burton@mips.com, richard@nod.at, robh+dt@kernel.org, stefan@agner.ch, zhengxunli@mxic.com.tw Subject: Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller Message-ID: <20190515140858.77213af9@xps13> In-Reply-To: References: <1555320234-15802-1-git-send-email-masonccyang@mxic.com.tw> <1555320234-15802-3-git-send-email-masonccyang@mxic.com.tw> <20190512151820.4f2dd9da@xps13> 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 Hi masonccyang@mxic.com.tw, masonccyang@mxic.com.tw wrote on Wed, 15 May 2019 16:48:46 +0800: > Hi Miquel, > > > > +// SPDX-License-Identifier: GPL-2.0 > > > +// > > > +// Copyright (C) 2019 Macronix International Co., Ltd. > > > +// > > > +// Authors: > > > +// Mason Yang > > > +// zhengxunli > > > > This is not a valid name. > > > > Also if he appears here I suppose he should be credited in the > > module_authors() macro too. > > I think Li should maintain this NAND driver later, This entry is for the authors of the driver. If he will maintain the driver, then add a new entry in MAINTAINERS. > > > +} > > > + > > > +static const struct nand_controller_ops mxic_nand_controller_ops = { > > > + .exec_op = mxic_nand_exec_op, > > > +}; > > > + > > > +static int mx25f0a_nand_probe(struct platform_device *pdev) > > > +{ > > > + struct mtd_info *mtd; > > > + struct mx25f0a_mfd *mfd = dev_get_drvdata(pdev->dev.parent); > > > + struct mxic_nand_ctlr *mxic; > > > + struct nand_chip *nand_chip; > > > + int err; > > > + > > > + mxic = devm_kzalloc(&pdev->dev, sizeof(struct mxic_nand_ctlr), > > > + GFP_KERNEL); > > > > mxic for a NAND controller structure is probably not a name meaningful > > enough. > > How about *fmc or *mxic_fmc ? fmc is fine, even if I personally prefer nfc for NAND flash controller. Here the 'm' in fmc stands for 'memory' but I am not sure if the controller can manage something else than NAND flash anyway? Thanks, Miquèl