Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3275178pxx; Mon, 2 Nov 2020 04:56:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8tlguPioJF1JqXCgzmdcIa4kHVS5yzezj9LTxr1dr+mpkOpL0P7imNckVTLsTqh2azpPi X-Received: by 2002:aa7:d514:: with SMTP id y20mr12183734edq.384.1604321793909; Mon, 02 Nov 2020 04:56:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604321793; cv=none; d=google.com; s=arc-20160816; b=shwuzhBouXe4apTJjSTkMjAQ5BthJ4TXbD7mn/z/ubAjZEt1bilkvGMYJ0tNtMZXXN 0hH1E0wlvEa5hQFZkj+uSBMWBQ1AhwqIfsDfCvcMkZ770giAGE/JdVc/rsI87wpe/rLy RAaVaPpTlaGTCyFD/hrdtqBwIIyu2xbE/6kR2jkUwGnfvWYDqnCMtJCmr/RvWXzrAIJL eO7onudo/sPwF5CQt0JrhjIhWz3YSiXphlMPnHeGVyZfhKn+xhg5jDFEzC508Pf8/jHC 2vcKEtoUwrJJUS8wWmoTcLWKDYD5+Pwe89KFt1MwMpxWfgEOYHpXxlCWsouFoGFPAeiD zG+Q== 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=FWnoM9RcGI/Lx0igrm6B9388qd7kuTOGXJU0IuBBGR8=; b=sc+o/0Gc6fLuIWELOLNcNd9tUFFNECxZJCPiU1FPA8vsy14qaJ/z1eP9G4GkyJPfdE qaPl7g1DXoXuHNK6+/uLU1DB/vYDdn00o0kDeQP3Vtsg7vRuPo0kLN+d9htz0Gkx+YPg fv5qC1TwHpoAKleHBygRZK9CVTqgKmUONPJYV4nlsxRxgSsCqZnFnNgksYnKwkJJigGh GS0tqRvs0kEdW5/2AISBJxhjvA4DRQy6v2FrnkmsDD1zQhyCiwQ6jEEnLW3sMmT95kUU DKkFQGQOOZZ9Zqy+uyR8kcbSWzbsZ86kfuCpvoWOZwdLXUtbGRDjnO40nhibFPIyskoy nx9A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 4si9865153ejy.644.2020.11.02.04.56.10; Mon, 02 Nov 2020 04:56:33 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728687AbgKBMwp convert rfc822-to-8bit (ORCPT + 99 others); Mon, 2 Nov 2020 07:52:45 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:34221 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728253AbgKBMwo (ORCPT ); Mon, 2 Nov 2020 07:52:44 -0500 X-Originating-IP: 91.224.148.103 Received: from xps13 (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id AF340C0011; Mon, 2 Nov 2020 12:52:38 +0000 (UTC) Date: Mon, 2 Nov 2020 13:52:37 +0100 From: Miquel Raynal To: Lee Jones Cc: vigneshr@ti.com, linux-kernel@vger.kernel.org, Richard Weinberger , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Cyril Bur , linux-mtd@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 23/23] mtd: devices: powernv_flash: Add function names to headers and fix 'dev' Message-ID: <20201102135237.7a03b817@xps13> In-Reply-To: <20201102115406.1074327-24-lee.jones@linaro.org> References: <20201102115406.1074327-1-lee.jones@linaro.org> <20201102115406.1074327-24-lee.jones@linaro.org> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, Lee Jones wrote on Mon, 2 Nov 2020 11:54:06 +0000: > Fixes the following W=1 kernel build warning(s): > > drivers/mtd/devices/powernv_flash.c:129: warning: Cannot understand * @mtd: the device > drivers/mtd/devices/powernv_flash.c:145: warning: Cannot understand * @mtd: the device > drivers/mtd/devices/powernv_flash.c:161: warning: Cannot understand * @mtd: the device > drivers/mtd/devices/powernv_flash.c:184: warning: Function parameter or member 'dev' not described in 'powernv_flash_set_driver_info' > > Cc: Miquel Raynal > Cc: Richard Weinberger > Cc: Vignesh Raghavendra > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Cyril Bur > Cc: linux-mtd@lists.infradead.org > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Lee Jones > --- > drivers/mtd/devices/powernv_flash.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/mtd/devices/powernv_flash.c b/drivers/mtd/devices/powernv_flash.c > index 0b757d9ba2f6b..32cb0e649096f 100644 > --- a/drivers/mtd/devices/powernv_flash.c > +++ b/drivers/mtd/devices/powernv_flash.c > @@ -126,6 +126,8 @@ static int powernv_flash_async_op(struct mtd_info *mtd, enum flash_op op, > } > > /** > + * powernv_flash_read > + * Perhaps we should not add blank lines if the rest of the file does not already have such spacing (see below). > * @mtd: the device > * @from: the offset to read from > * @len: the number of bytes to read > @@ -142,6 +144,7 @@ static int powernv_flash_read(struct mtd_info *mtd, loff_t from, size_t len, > } > > /** > + * powernv_flash_write > * @mtd: the device > * @to: the offset to write to > * @len: the number of bytes to write > @@ -158,6 +161,7 @@ static int powernv_flash_write(struct mtd_info *mtd, loff_t to, size_t len, > } > > /** > + * powernv_flash_erase > * @mtd: the device > * @erase: the erase info > * Returns 0 if erase successful or -ERRNO if an error occurred > @@ -176,7 +180,7 @@ static int powernv_flash_erase(struct mtd_info *mtd, struct erase_info *erase) > > /** > * powernv_flash_set_driver_info - Fill the mtd_info structure and docg3 > - * structure @pdev: The platform device > + * @dev: The device structure > * @mtd: The structure to fill > */ > static int powernv_flash_set_driver_info(struct device *dev, Thanks, Miquèl