From patchwork Mon Nov 9 18:21: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: 320957 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1956462ilc; Mon, 9 Nov 2020 10:23:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhiuVSFhpsTgkGzFZZQ2/px8m+fyIQtVzpJDH3T3/bgCEAFPNDjZZZlw3CbmgCf9NDkyx6 X-Received: by 2002:a05:6214:18cf:: with SMTP id cy15mr15941581qvb.53.1604946214587; Mon, 09 Nov 2020 10:23:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946214; cv=none; d=google.com; s=arc-20160816; b=idh8Rea8dAIqPBUOa/Mr9ZW2/jixFtdiCpCsjUIAfm4CDsG9SEdJbE43MuNMfW7QHr esHooN4+POaJzl+oLqGvndx8SOqNW2XnikhlZWolrv77jlZIEMjgKh/F6FGungZrwvz4 DjXhoscAlSZGKYCxof275yhnB3JUo9WT2cPfdK4NlK474TZF2cXhVg6a3U0upIesRHqz qa91ARmFrC+v1MU78imWJ2tERaCHauCxQgdNW1G0w1PbfsnmGPe5NuSOK6m+kCGfBw99 jYTu1NtW/EkkwtZwi0IUBFBJarEjApbRwRElGlOaU23l+U74kobqoGnyApsGVSHLINEC 6gXw== 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=H5EWnon7vwOE/FKsBpDnck3TXubamuRjfpWq3CdGvE7tQ5V5I+yFXYZZMR2LBJdrn8 bqnaIQ+XLfmTLyQWmZ+DUalJwP9fZhFQ9UjZPlGKEuYLasBqa2ElZhMKVXa1FjkGHtHc RVylQWJ7hwC5WsggJyfsgV689OfVuuouLUVgqC+GwOyo5/YAYmJ6GOL8VEFSx/wT+cKv s5wt2AgEa7gq2MfZOBo5t9Vo4JXV0NmlC9z4NG7YcdkHweC/xZ91/euaktHA61T2YGvh p2FD+Mt8oFtq8nq2KXUNmXJ+erSKQy76rwMxcqWHsXB0qBEf6tlw+0MImNHEDJpbrkbP vXdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=BZbVVtVy; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Uj0ilgS2; 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 99si5078793qte.261.2020.11.09.10.23.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:23:34 -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=BZbVVtVy; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Uj0ilgS2; 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=BZbVVtVyv7veAwPEhE+8c0NSH fFqqC9Y7VbdR/IHYsRpjj+38h7nCu6Ja7TWlRLQe18pP8M/X76i1++HhnBv/dc2XTcWIW49m1CiJx dbUz8kHNJj8r9QhCgoX9wO6kdARht+Kes8L54ap2Sg9Fi1xxC9WO7SHk+uGIJC4T14/7o0dS//nis kJXvhLO5edFoLWQw4VC6JNy0MUzJlHvYJWrmNvS0IRttELTjFaBMBnOkFh7gaF+aOv73ECMaiv9+v pPaIl65bVtc1jgyeTQSnw6s7eO91Uzt3o8BA1VB28L0Njq9UJ+ec3w0z7gRETxAOVkxkze5vbM8zw +LUIR7UcQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBp4-0001Gv-Hm; Mon, 09 Nov 2020 18:23:22 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBoD-0000qf-68 for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:35 +0000 Received: by mail-wm1-x344.google.com with SMTP id w24so397049wmi.0 for ; Mon, 09 Nov 2020 10:22:29 -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=Uj0ilgS29+osExv/bvismVAT/PLBPQdjidoQmjYo/Ro+UVwUGL/jffTPU1iY4aCacY Es0GGJnPhXgtd7nKKaseNluDzNC5K52t6wmmT/9T25hAfOKi4q97MkOuZjTxchbhYCOL sTyXzuH2q3L3QTQixux3i/SA1TEK7nPZUP0ewXsAk5z0XtW4am/wEmYE/ijjML5LVsv3 KBCcmYKSq3IpFBQ7vdOz78aE0rN42Ze8eSDT7Uj8l69xepN7VnUJ2Pedk8qRPbj4RUgm Kvca8JpHPpGK8bRgF1nn0H0cNT1GpYDidE0IDI6WpsJ1TGJ9uc45oO086N3lkI4uVBe4 Txag== 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=bmNwPEmT8PHCc1B2MtYrI5YC8l+EPoC0HrdNsrW63s3Pifup3UbHXL9gQI/6ZhzAYv TWSeN7IMQv5En4vUDMZP/5AzZ3AzbYbrEM9zlUISmnaUI5y92isslUAXrYsMx7WAeFAJ azwpihRMceKbWSeQjbheauAbj2hrbHuC1/FY7HLYpk0rq8DgdT4+XK3buhEZ+793HX8z UELSVdZBBHAzSbRnIH9AxFVg0TTnRzvEPt76a7EZmQo7EWkYqghL/BpSOJpInwvcJhNJ Unx1kzoPu2ScTLoekxHv1t90Riq6+X9o2d7wdqu/3s1pXsVPg92oxmizllBDbGgEfgcc lNdg== X-Gm-Message-State: AOAM531ASlXbkV9VF4HfAoJBPwd50ZIidKxmciccOVLqnJ2pV5HOt1Dp 6YdlfSgNoR1qRKwvLlxkrfbDZg== X-Received: by 2002:a7b:cbd7:: with SMTP id n23mr484206wmi.142.1604946148324; Mon, 09 Nov 2020 10:22:28 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 06/23] mtd: onenand: onenand_bbt: Fix expected kernel-doc formatting Date: Mon, 9 Nov 2020 18:21:49 +0000 Message-Id: <20201109182206.3037326-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132229_295941_84D5439D X-CRM114-Status: GOOD ( 20.71 ) 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:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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 -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 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: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Kyungmin Park , linux-mtd@lists.infradead.org, Miquel Raynal 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