From patchwork Fri Nov 6 21:36:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320832 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651334ilc; Fri, 6 Nov 2020 13:39:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+7NcJgC88muc1PWIGf63/4cNcAF0IwfhxCXbnXBGj21R+uxIdXwDhsmUaOt17182GdXLx X-Received: by 2002:adf:eb08:: with SMTP id s8mr5027560wrn.12.1604698793442; Fri, 06 Nov 2020 13:39:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698793; cv=none; d=google.com; s=arc-20160816; b=UGOw/Tr1eDq08EpLiCzNfWQ7NpeO9GmNJkCQ/PohL8a5lwJVSxta3q+wJZAAA9S31h YVyCuB8u9Fs9TbSY42aW58KekUZIOWEXUf2NTI8WA0o0ddGAph4LOx1zfoGiGUykvs5I CtPAqdbOeTHoQcU7mhsv3+zjQwTVkZmwOup25AAJmMx84091n7/Ns3wOzsM8eNjW39Eq R6X0g4NqUnsW9lflAPtDKScZ4XLdTfc9imEuupf6V0gLnfcaTJPvnazUsQFQ/JFV7wzn jSKkubTUkJV7MH8IzRrBVkStmaB5fRIiGnEEumIvtOYdjNPesb9X1ijBZ0BcnJ/ahxBV MAvg== 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=xMq+x52hv0S47USEc6kSR00N4utMwKTqtcqsBq7W4RA=; b=WKlrgKKZ2Pw87khWg/dPAfQwhOT4FFYQ8gzfR/+mAyJG4JPX1vpz9ck3MrCcjUsFF0 yRH0IWg5KNUvzDbtoaw8ewp4CyKFSb5pGbGRdG5uMqYZd2rrdZlTKI74SX2F3FywjbP+ b+Vavo9q5b3OQhAAQoSmdmxPjFVl8lXpl7VPwBHyMw5E4anvM9R1PZuxMbCDPE1ztYNU ZO0O7tcqs85n4Q2/E7aqKrwy3XofYhHidVnWELuAXuf6xVNVEquvO7BYx2OV5v8Mtfon rC8sNZg/e/CFtLhJKFk+8IwYT0dKpT+/9AwTcbDcT9a3P9EZ8+6wLNaIG2kumfR1mJFt lrDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=mbKuJEfG; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cvGUz9vF; 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 w15si2326210wmk.214.2020.11.06.13.39.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:39:53 -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=mbKuJEfG; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cvGUz9vF; 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=xMq+x52hv0S47USEc6kSR00N4utMwKTqtcqsBq7W4RA=; b=mbKuJEfGzLOkkFYGdvv0XHq7B FWIxKU33OBIOGBfvSXaOzWFoVhO2ycyLs513XIdtzU54L+MJWHUojAYNZR2L1MbeT77j/RkhUb1ok /+GP28XBk/IXE24FaDUx38GmcIbcm3eEL+23ov52YGcrE/aq4b2BMgDGvitBVxMrbweO3BKvhMwcW E71W2YJQd9fIJF4OUPcrfb4bUwju+rjwK7/vyq0N16kchC6VvWJJm1uAT2Oi2HYcqE9/WTNKDHmcM Eeptm2+Uxu6ziRG8ybW7wyDesr8TbAg4zIfX4b8vtxedcJO0nASV4huIb1zQxtSxbrOS1DfZRTb1H t3h+/LYjw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9RA-0003Ax-B2; Fri, 06 Nov 2020 21:38:24 +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 1kb9Q4-0002cM-Nb for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:23 +0000 Received: by mail-wm1-x344.google.com with SMTP id p19so1763249wmg.0 for ; Fri, 06 Nov 2020 13:37:16 -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=93EjZ3Q1Gw8Ho51hZkZvcyMJpfj7h+RPmd54ZDyuP+E=; b=cvGUz9vFmdq9m3LcG6h2WXDm9NcajWq52twh6MVrvfJxfk83JKWtunTtBbGxznuGRw RYi+l/Oe7C4iUOShplsZz0ND8kpwu67qnNZz1Lbbl6HE0EOFU9tMkIh93D1/HYP56Av0 673edbjckqfRywYQuHoPBvsOHVPWlKjR1REJeTOMHyE6WN+0vqKe6tvUTmIHHICRU08K 8hXS+5La2R08G1bEnlZ0++Ml9gfjVjNgKUBMC16TWaRpkgFmVhzKLW9iIATEpLBtfg77 Ht+AOn6dGvcQFtbUBd6jqgyafA2nSSFWhtuW2GSLPOp1BjDFFOC7mYruDcKB3cz2bzlI p9Tw== 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=93EjZ3Q1Gw8Ho51hZkZvcyMJpfj7h+RPmd54ZDyuP+E=; b=fCuG8DOb4cvAJYQGn9LQgHqPh2VzYGLMXmh8+uP14LNAIaTBtCEFUkaMZdsz3NfwZi ZySsHKYqLRt2NLRXNhqzVRB+ihvLuiKhAu63UW+YIUrstvfJzifwUOefj420xFnmDBCv BQ1Dyhz9xIFVu4/iuT2qWEHrO9bF/uocdabcK/rFNaZep4i2J8rHHA5ONRGnCMyoBPCc ixUObGaepqMVJJpxtkKT1Nq+FN9AUZh7yOCbSbgBrKcWbcKfK2htx0h51C2HO6rnaVev xlTbe5OiK4ItnrUXujA4d7FQGj2lWlckfYGrYruIN2OHB5kB/jlP5lFPKK7WmOKbVH91 VQqA== X-Gm-Message-State: AOAM532DgDycovys/FaEqZeldVpyedu70a3sWeDav3iGgrmdbXS4j0Rp saMdeYEqz1uUGZSInwCqWHXJ/A== X-Received: by 2002:a1c:ed15:: with SMTP id l21mr1703834wmh.26.1604698635749; Fri, 06 Nov 2020 13:37:15 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:15 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 12/23] mtd: ubi: wl: Fix a couple of kernel-doc issues Date: Fri, 6 Nov 2020 21:36:44 +0000 Message-Id: <20201106213655.1838861-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-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-20201106_163716_845148_C873C449 X-CRM114-Status: GOOD ( 16.18 ) 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 Message has at least one valid DKIM or DK signature -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 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-mtd@lists.infradead.org, linux-kernel@vger.kernel.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/ubi/wl.c:584: warning: Function parameter or member 'nested' not described in 'schedule_erase' drivers/mtd/ubi/wl.c:1075: warning: Excess function parameter 'shutdown' description in '__erase_worker' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/ubi/wl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index 7847de75a74ca..8455f1d47f3c9 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c @@ -575,6 +575,7 @@ static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk, * @vol_id: the volume ID that last used this PEB * @lnum: the last used logical eraseblock number for the PEB * @torture: if the physical eraseblock has to be tortured + * @nested: denotes whether the work_sem is already held in read mode * * This function returns zero in case of success and a %-ENOMEM in case of * failure. @@ -1063,8 +1064,6 @@ static int ensure_wear_leveling(struct ubi_device *ubi, int nested) * __erase_worker - physical eraseblock erase worker function. * @ubi: UBI device description object * @wl_wrk: the work object - * @shutdown: non-zero if the worker has to free memory and exit - * because the WL sub-system is shutting down * * This function erases a physical eraseblock and perform torture testing if * needed. It also takes care about marking the physical eraseblock bad if