Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2975472imu; Sun, 27 Jan 2019 18:22:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN7yjyX1vcCsZp5isZyQ0/e7XqsrogjwM7/xLlox2W7Q6t5pvIcMn4NVs5ndQNYQ8VmevVFd X-Received: by 2002:a65:6542:: with SMTP id a2mr18030543pgw.389.1548642157568; Sun, 27 Jan 2019 18:22:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548642157; cv=none; d=google.com; s=arc-20160816; b=MQO7sLUe/cFdg3PKzErwN1j8nfLtjxDpd+P6sMe/GKPiFTXoUMF/ohDnGtKNWrV4Di ZpIE3zs9BuU+FSjXF29o+JHHclCHfuPJIdKxS567dbaiqnK8lLe0IESA2B6tltHRlGg0 j0jXXDR/VNAXkLKBKId027Cd9ZFVisFX5IB8RbJMzuEDiVbQ2S45qDWNxDintrcuHwIJ hx+TM+NrlyPJOkKIRsEQWZVN9brBFC+btZnkMprhQLsNMPnsHjHH0my19U9AGNQ7fhja PdksBOn74AY4nI2sCIdL9fKsWX2zWy06KOxg8WnwCNYv18lXwrxx+bGcm6BENC7BmxCe 63EA== 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 :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:dkim-signature; bh=ibtxGouiTmsRJl/wbEcaH90zmmh7s2shyU3KNUF+GGQ=; b=B7eGUy2xsUeid3oareJp4PJwFEvpk0ryDzKdd9NueM7opXiS5xCaV1qxcjknE72Tdu qcM0ocLnHTmXCj3nvX5xorf41RrSrAUq17WtGYDQzYQ8jW5ceqVva2Vhn8PZRUEl4EnR H05xe/0mbDSQ/+fdL/qxO+71Er8RZRz2WpFKEFr8pHhVAD66UV1S42pnM5O/bgsukmdn MIMLAxGqVVJphuylbdXeOUizPAJNkC08EDEoRkoQy6MU7il5hmrjRB4TQWe15+I0+xTh NrB7dIDrV0VA5oYqLcoRevprQPyPafNkfLaSKFwivycK2Y82fLN5JCVSOuuubk/svskc j0iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=merlin.20170209 header.b=blIAZz3Y; 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 w16si3088808pga.328.2019.01.27.18.22.09; Sun, 27 Jan 2019 18:22:37 -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; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=merlin.20170209 header.b=blIAZz3Y; 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 S1726638AbfA1CWE (ORCPT + 99 others); Sun, 27 Jan 2019 21:22:04 -0500 Received: from merlin.infradead.org ([205.233.59.134]:57990 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbfA1CWE (ORCPT ); Sun, 27 Jan 2019 21:22:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9A2bhWdt92f//3IxfhrgEcbYlio1W9MKRsGBBIyHXas=; b=blIAZz3YetoYoTO4kEHkF8k9S5 4vaBZs4gU0gmVbLeOTo/XDvwW2mKjB+9Y08abpE4oox949ifkRI9zMZatjHNArCQjDBgG3G7GR5xr V+Fw+0GTm3wtLiz1wTRqbSakIssVrCvEKqqb7n0Ok/OX9A9akpy9fzHNkffKf0HksjmhSJCwfHwMn nz859Y6KwFg6He4m24FXrj2tt7du7RH4Ps/MXj9GxQYXHnw50kZqfB7giCtHQDS4/zXTmEpaF461H ZQnxs1Ut2kJSKl4j7a9V52+8q/mg33X1deDo7p+aTVBdkaS8+rsBvesK6ZcRz/ADf1BaxaWxlp/mu Jk/UqMMw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnwYb-0002xR-6O; Mon, 28 Jan 2019 02:21:53 +0000 To: LKML , linux-mtd@lists.infradead.org, "linux-doc@vger.kernel.org" Cc: Boris Brezillon , Miquel Raynal , Richard Weinberger From: Randy Dunlap Subject: [PATCH] mtd: nand: fix kernel-doc warnings Message-ID: <21d5edd7-1335-2731-6d53-5b15d053462c@infradead.org> Date: Sun, 27 Jan 2019 18:21:42 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix kernel-doc warnings in drivers/mtd/nand/raw: ../drivers/mtd/nand/raw/nand_base.c:420: warning: Function parameter or member 'chip' not described in 'nand_fill_oob' ../drivers/mtd/nand/raw/nand_bbt.c:173: warning: Function parameter or member 'this' not described in 'read_bbt' ../drivers/mtd/nand/raw/nand_bbt.c:173: warning: Excess function parameter 'chip' description in 'read_bbt' Signed-off-by: Randy Dunlap Cc: Boris Brezillon Cc: Miquel Raynal Cc: Richard Weinberger Cc: linux-mtd@lists.infradead.org --- Do you want Fixes: tags for these: Fixes: 0813621ba898a ("mtd: rawnand: Stop passing mtd_info objects to internal functions") Fixes: 99f3351a6d6e0 ("mtd: rawnand: Reorganize code to avoid forward declarations") drivers/mtd/nand/raw/nand_base.c | 1 + drivers/mtd/nand/raw/nand_bbt.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- lnx-50-rc4.orig/drivers/mtd/nand/raw/nand_base.c +++ lnx-50-rc4/drivers/mtd/nand/raw/nand_base.c @@ -410,6 +410,7 @@ static int nand_check_wp(struct nand_chi /** * nand_fill_oob - [INTERN] Transfer client buffer to oob + * @chip: NAND chip object * @oob: oob data buffer * @len: oob data write length * @ops: oob ops structure --- lnx-50-rc4.orig/drivers/mtd/nand/raw/nand_bbt.c +++ lnx-50-rc4/drivers/mtd/nand/raw/nand_bbt.c @@ -158,7 +158,7 @@ static u32 add_marker_len(struct nand_bb /** * read_bbt - [GENERIC] Read the bad block table starting from page - * @chip: NAND chip object + * @this: NAND chip object * @buf: temporary buffer * @page: the starting page * @num: the number of bbt descriptors to read