From patchwork Mon Nov 2 11:53:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320292 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3674949ilc; Mon, 2 Nov 2020 04:12:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxg8nwJtcmzvWSUXmqadeOLsdK/nvczEh12Jmgh3NeNrkp+IdHK5c8NPX8gByea10b5KuHk X-Received: by 2002:a05:620a:743:: with SMTP id i3mr13343581qki.57.1604319156168; Mon, 02 Nov 2020 04:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604319156; cv=none; d=google.com; s=arc-20160816; b=aY4cYLgxvQE/PWCWHNyzRFhk3C3luX4cnkuu+wQD2nDdzuKTTwvzhE+pgaUsx3KpqC +IiWxM2qyAvlUBwN8Yd4Exzp53b+tyLOHSrC7pg2uKPeLELYvDyrd7CkNxxevTQFbjEG tu3P/z3oqra+ENp2CoG+hns+9Xv92TB1IQaARwVk5o0B1oPIuJLoJSnVk18mAMbRXcLo Xufl04UbiLWyJ0EY0fK1+htZ818BNTf/JzzaanOe+AyZ2NPfG/JC53fsrbVCVrvQZBsn cUSpp/DUPqcPc56trhdPlbui1qkQ5W72y8GEDZnGa2jEahkFQD2XGUAEaJNvPgv48g52 vq3w== 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:dkim-signature; bh=xMq+x52hv0S47USEc6kSR00N4utMwKTqtcqsBq7W4RA=; b=y919FcxpnBfW1Tn8njrxacKEsy8V1C7NayLIIAjSYeiYPhOKn/C8d0DiyrndWZQsbb hyoo+y3yzQJyohE3dFHFQXgIDxW3GOWJFjILr3LijzHoga3ebUvlYVoz/Fl7c/R4yu0q A2TKPDJZ39ygTJtdJUaJC40iJwxTJQqg0zMtZlx4uGW2+0Snvwbj4FuqI1InsLO9/RwS +S0xKUGwRZJmp7Hk68k404ufvZSc+gebHSCZ9F11SNT4RqzeWV6oZYFrUpKL3462KQFl nZh8r5+VYwkUm5Ug+cVOt44hj6GTcnn4neWc3ImaS/hESXiBjk+OXl26Wmx/gKC5WhUN Rh0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=oLRPD90v; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=casper.20170209 header.b=gynwMwCL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=opBwhrxL; 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 h15si7965147qvj.188.2020.11.02.04.12.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 04:12:36 -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=oLRPD90v; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=casper.20170209 header.b=gynwMwCL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=opBwhrxL; 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=oLRPD90vYuyBVaJPjyxCD70FF j/6flY2ciNVE/4w/X8/uhmTepwW2c0ikQv61f9Gzb6cuuEH8/w0pLVhpn1SlaFJ22GkMth2cbQnx9 N6e//M2ZN/fmUCLFsEKfCV1BtYyopZZQ8cWQpwbE9gWCoeKOXQbBpHSC1elBg61nGyS5iLumomdFb NOAkztxNzDFjAG1eHQvXylrzy6xVY4jiSH3tbpFNGEnQqDoOGlzZ6y3mbNq42jg5kyh0OeRYtF/7z ga94h/ByE63ag+auWknO+Sdhm+kb6iVZA0mxE/B4AbZLom8HGfFMRtzVod3fB1NGVO2h3sEHwt2MD rnqVAAobg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYhE-000452-Df; Mon, 02 Nov 2020 12:12:24 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYgu-0003p2-Bj for linux-mtd@merlin.infradead.org; Mon, 02 Nov 2020 12:12:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=93EjZ3Q1Gw8Ho51hZkZvcyMJpfj7h+RPmd54ZDyuP+E=; b=gynwMwCLc0+LXPkf4XzfbHJztq BOUmYo6cy6lRj/JIM0RNECi1DmKfAZpUKWVPfICbNVsT7jWftIJOJvOfwOsnn0dGAObn7HxhkcTQX mz8QcgNkI+P3daV0rtzSBizxgcEZHMVf7DplTIQ2VwNkbVDmAFCpWGY3W3webpFZthwzlEqExaRLS IfaM+5BzBUsD9HU+Y2gSRgpYEnp32ur13s9HUoMhxERzbEpx/yw83Qp3kD0sI2EUnJ8OiVuivSk5k YbPC8MkWigra3Cj2LJkHuXeT5W9Osvp6Y3BbHabcKmajds9f7wM0N+2HIqIkh/UHptfP+4eZ3N02Q 0ZfoqJVg==; Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYPu-0004ri-U9 for linux-mtd@lists.infradead.org; Mon, 02 Nov 2020 11:54:38 +0000 Received: by mail-wr1-x441.google.com with SMTP id i16so8834675wrv.1 for ; Mon, 02 Nov 2020 03:54: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=93EjZ3Q1Gw8Ho51hZkZvcyMJpfj7h+RPmd54ZDyuP+E=; b=opBwhrxLDDOijB/+6w0qKgtlnTAnSYM4uhprrPkJ9C3OtHPXIDM2Rf5IU/mmjdS3AV PhSjyKbvUb1D1DhP3/69ICZJTZNjyxqoO5bagSZy3o6ovSKW57KJryFUjgQY15PSLMG+ a5HnXkkhUOuhw5aMJwRRXrKFqqDX3oYAcL6z2tSkcVapWDlr9iRxSeMI0NARDRsWWMxa YX71OJpG0fGny9J4O/WWj2F/kiO7SC9kRW+nF1PGUECszF08zIAJrtAfIUsUZ7ZgGpMG eQDt909GDycd9buJqg8nBRhIOsrykhLgf268VB7fCmuqoiYiuXDFGX00vcPVtTTwHK2U q58Q== 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=W7BiHNRDk5tCb0N9OFCvl1ENVKt9SHcN6CkAezyL6LX4hZW0VzEw/QEBzU63mjCE3O 1UJJYEcABxNhfqmMkYni5yqVW2fMqzXaQtcpqHtAh1HzSFPV5x0xNWfYahPZYi2iQv0q CwKMoQSk1CJhDGZeJIE8r6byNRtlAT4MPHWm/g5bv3rSZvG9MniDvzcl6mlCEhoS9Wu1 uJ0mKjXBuexihEQjWsLG4kmAQ9uwGtr1OX2IO5/ut30CXiXCbExhkKuRlMBmEbs0yCPq x65hyoerUsxStA0bFzR2pVDUvv7xmcN4WEUk2M0CxBdeHcfkLTNHwUOHZ25Cyu9EGdhe 1Zhg== X-Gm-Message-State: AOAM533Q8f0SHz+DBtFlx9ZojD8AXqqBG4Mn6vqNN44x/hukKvHksMIk FGPg3MLyEZ3DwCquw4U1igwm2g== X-Received: by 2002:a5d:4083:: with SMTP id o3mr18475908wrp.44.1604318068665; Mon, 02 Nov 2020 03:54:28 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id t23sm14284010wmn.13.2020.11.02.03.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:54:28 -0800 (PST) From: Lee Jones To: vigneshr@ti.com Subject: [PATCH 12/23] mtd: ubi: wl: Fix a couple of kernel-doc issues Date: Mon, 2 Nov 2020 11:53:55 +0000 Message-Id: <20201102115406.1074327-13-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_115431_846177_FBD9DA8B X-CRM114-Status: GOOD ( 14.77 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 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_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: Richard Weinberger , Lee Jones , linux-kernel@vger.kernel.org, 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/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