From patchwork Mon Nov 2 11:53:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320278 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3662339ilc; Mon, 2 Nov 2020 03:55:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaUgoL/+XZxDGm0VLRjosXlzZc5lbwCDEMka8HeldiP6lI88dPAq+NRyWLAwNaDNxAcicE X-Received: by 2002:a0c:ffb2:: with SMTP id d18mr20996463qvv.44.1604318143702; Mon, 02 Nov 2020 03:55:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604318143; cv=none; d=google.com; s=arc-20160816; b=YHvifwquRc4drDQMFEUoRZC8dLsmZEdwvYStlIlQCjdC6nKbv0oBP26y3xKAiRfD5f dxy/yiwfGl54lSwZujfFOMqxieKlQtukdJQu4uYe5uwQV+twPUC8JTOFAM35cTI6mheQ 0awcCl7O5rRaGsu1xYDrw/cxgQMo/oL10g3duaEr64eHhGXG8T27gvuPXnsnHyXNqpYD TRl2q2cKRY0l5w3StH3aWIXcaKPPj48Jes0E8yspCxXyL5g6vLy2Kcpw3BIWin0w+L5e efSB4NDwOd+8GPgvYt5kk7o34VyXBPSokC6G/1U5guhV4jqcShhf7PDz6deCzOT5NGHy c/Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=kAsh17g28C1o04F9Qq4njyA9DuveqYX3WjcAVIMblvY=; b=OmHQhhnqFwd7dfZFWfQlLXLjOEDhcuOlfD1JZsZG8FdufyCmYxwArmKoJ/TK+HIcJY VP6wR21G/32rgxtt0Baf7x93AMdicb4x3YQU/273Mt9knX5z0Lpvj0D2VuEsND19m012 szMZFf7+fDng2sTXYLNMy5jypTRX7V3c2Ef2J59Ru8w/w7bAMlEm/lLcDlAlWbwMEiBA /v/SxfAKKoPt++HJtQV26AsH70pfgU8igY+q9goYDTX1YMZGZgSBf3BOzrpkw70JSctu NYpNCNC1hN2Dky/Iic7tWaDGbCkjLDgXjg9Ya2qAXszuaansS97dU9UU2amRDwB+9VMS 6FqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b="Hg/61Vt8"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iwc3rXe5; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id f2si9204618qtx.337.2020.11.02.03.55.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:55:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b="Hg/61Vt8"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iwc3rXe5; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kAsh17g28C1o04F9Qq4njyA9DuveqYX3WjcAVIMblvY=; b=Hg/61Vt8sQ3Wy8o3ytu2dGpRu HIEJzMbP4c7sISFLdK1p1R4ztKHAuwuwdkIXHsc49qngX0b5QFG5G6aUqR+lCwC1B+6NW2susgprU zGM9BKdKPep99k3Bpw0lEVfDufXJrXaWE6b7xT8iMRr6XcQdlduEgBVRwO9VrpSxDV09Nst4grA79 G7Upehsi2ZF+4Z7qIr1pXbSSfXdmRN/L1p7w5NyxXCkrtqemCTssL62usISL6IMJ4XMNN/AYIg8fe X7bChiLzrgHV23sJvV6pi+T5ts8lauIBPnKT7lM2oV1QShPEr8wIkiV2MW937KMgRGvH+lXmmc8TD hTqJhFghA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYQn-0002JM-N3; Mon, 02 Nov 2020 11:55:25 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYPm-0001uS-Df for linux-mtd@lists.infradead.org; Mon, 02 Nov 2020 11:54:36 +0000 Received: by mail-wr1-x442.google.com with SMTP id y12so14250081wrp.6 for ; Mon, 02 Nov 2020 03:54:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4n/4+2lBYe8KEpcSc+k+jaUcNkTMwSw5Q+II+p0iyss=; b=iwc3rXe54abh0IHTgT8GJR7Ns9AFQ7uTzRFMH9TYCsgpN7aaTodko0Sqz7REftrzXB LpBvtJR8QSrIbHwXqeLx26kD+v6j/Ucf7/lSUy4f3F0EO0vh08+76ebSvforYcOwsv4q BROkYCbfu+Lu65EUy2c3+KDEe9aOlPW0JhQ0ftFNQDVg1crYkFcKu66zpbUDctqFznKT XnSYA0Zh/V2iF4PdxTCiVnVjLrQHk2Bfvg5hZv3mL4bQXlCrPOTRvebZjVkwcZJ5bJOO SgDW3ky2+6+Y7YyOWjSU3mxvPNuKal2OhrMAAPObvBHfXPVbimtPkZQLFx15Rr4y4yYr wXdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4n/4+2lBYe8KEpcSc+k+jaUcNkTMwSw5Q+II+p0iyss=; b=srqRg+YY74aYpP2chtepdlxWkbSSbHyIlwv7Z2Z4lPDb265+TDH+plmlKcdNKKtTMy ALy3JoKlovbQDzBp2xXX6FpQbTvilt0uVTwcvkrNRVz3het3tlzurWvCRQNrjVjAXiYH 8yibvDKoCCvUZmNCH1fqQzjXCpHUFzuNVnV+NiXxBq/zg0aaI/haIKA/FItzYyoMcCaR t/vQ0WxZ/XjU6K/0rtptPX1dLtPbck3SWfb7fO3HiyZhW/Df1K/+1MVfBMkOK+yBOxew vJ/VYsBc3bvou+uzuwOJ7YqDTKlmVHTOHX6MRrCHD+yjdn7NMJNJsUqyqc9CF7hMCQQH UU0g== X-Gm-Message-State: AOAM531RYWzSfkpKoGmy3UrWRkuuPPSMMf5wPBQtjMg6UZT99zf9Rwe8 0r3xpPcfAgztHvaxqT7Rw2Cfng== X-Received: by 2002:a05:6000:36f:: with SMTP id f15mr19634536wrf.78.1604318061197; Mon, 02 Nov 2020 03:54:21 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id t23sm14284010wmn.13.2020.11.02.03.54.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:54:20 -0800 (PST) From: Lee Jones To: vigneshr@ti.com Subject: [PATCH 06/23] mtd: nand: onenand: onenand_bbt: Fix expected kernel-doc formatting Date: Mon, 2 Nov 2020 11:53:49 +0000 Message-Id: <20201102115406.1074327-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201102115406.1074327-1-lee.jones@linaro.org> References: <20201102115406.1074327-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201102_065422_862001_4CDF4EBA X-CRM114-Status: GOOD ( 21.21 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , linux-kernel@vger.kernel.org, Kyungmin Park , linux-mtd@lists.infradead.org, Miquel Raynal , Lee Jones Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'buf' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'len' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'paglen' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'td' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'mtd' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'buf' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'bd' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:57: warning: Function parameter or member 'chip' not described in 'create_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:132: warning: Function parameter or member 'mtd' not described in 'onenand_memory_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:132: warning: Function parameter or member 'bd' not described in 'onenand_memory_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'mtd' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'offs' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:145: warning: Function parameter or member 'allowbbt' not described in 'onenand_isbad_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:182: warning: Function parameter or member 'mtd' not described in 'onenand_scan_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:182: warning: Function parameter or member 'bd' not described in 'onenand_scan_bbt' drivers/mtd/nand/onenand/onenand_bbt.c:230: warning: Function parameter or member 'mtd' not described in 'onenand_default_bbt' Cc: Kyungmin Park Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/onenand/onenand_bbt.c | 32 +++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/onenand/onenand_bbt.c b/drivers/mtd/nand/onenand/onenand_bbt.c index 57c31c81be186..def89f1080071 100644 --- a/drivers/mtd/nand/onenand/onenand_bbt.c +++ b/drivers/mtd/nand/onenand/onenand_bbt.c @@ -18,10 +18,10 @@ /** * check_short_pattern - [GENERIC] check if a pattern is in the buffer - * @param buf the buffer to search - * @param len the length of buffer to search - * @param paglen the pagelength - * @param td search pattern descriptor + * @buf: the buffer to search + * @len: the length of buffer to search + * @paglen: the pagelength + * @td: search pattern descriptor * * Check for a pattern at the given place. Used to search bad block * tables and good / bad block identifiers. Same as check_pattern, but @@ -44,10 +44,10 @@ static int check_short_pattern(uint8_t *buf, int len, int paglen, struct nand_bb /** * create_bbt - [GENERIC] Create a bad block table by scanning the device - * @param mtd MTD device structure - * @param buf temporary buffer - * @param bd descriptor for the good/bad block search pattern - * @param chip create the table for a specific chip, -1 read all chips. + * @mtd: MTD device structure + * @buf: temporary buffer + * @bd: descriptor for the good/bad block search pattern + * @chip: create the table for a specific chip, -1 read all chips. * Applies only if NAND_BBT_PERCHIP option is set * * Create a bad block table by scanning the device @@ -122,8 +122,8 @@ static int create_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr /** * onenand_memory_bbt - [GENERIC] create a memory based bad block table - * @param mtd MTD device structure - * @param bd descriptor for the good/bad block search pattern + * @mtd: MTD device structure + * @bd: descriptor for the good/bad block search pattern * * The function creates a memory based bbt by scanning the device * for manufacturer / software marked good / bad blocks @@ -137,9 +137,9 @@ static inline int onenand_memory_bbt (struct mtd_info *mtd, struct nand_bbt_desc /** * onenand_isbad_bbt - [OneNAND Interface] Check if a block is bad - * @param mtd MTD device structure - * @param offs offset in the device - * @param allowbbt allow access to bad block table region + * @mtd: MTD device structure + * @offs: offset in the device + * @allowbbt: allow access to bad block table region */ static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) { @@ -166,8 +166,8 @@ static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) /** * onenand_scan_bbt - [OneNAND Interface] scan, find, read and maybe create bad block table(s) - * @param mtd MTD device structure - * @param bd descriptor for the good/bad block search pattern + * @mtd: MTD device structure + * @bd: descriptor for the good/bad block search pattern * * The function checks, if a bad block table(s) is/are already * available. If not it scans the device for manufacturer @@ -221,7 +221,7 @@ static struct nand_bbt_descr largepage_memorybased = { /** * onenand_default_bbt - [OneNAND Interface] Select a default bad block table for the device - * @param mtd MTD device structure + * @mtd: MTD device structure * * This function selects the default bad block table * support for the device and calls the onenand_scan_bbt function