From patchwork Mon Nov 9 18:21: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: 320962 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1957392ilc; Mon, 9 Nov 2020 10:24:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYEdBFkbZyBcGeH1g6k2tTnKackavMl4ErAq8Ewgz622UO9v+F3Ofm4DFSWJZjt4gbz1U8 X-Received: by 2002:adf:f846:: with SMTP id d6mr2042947wrq.128.1604946298482; Mon, 09 Nov 2020 10:24:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946298; cv=none; d=google.com; s=arc-20160816; b=ECK3j7chftXFTUK0WxBdHyp4E5dOOxVVa5j4IHN/xeMUV2WcyCSYcFeOQ1aCqym3BM FsZsczV6ctUK6BXuJr/mVNGtlPjyowoON1SekWcrXOHh+bkVezLOyvZ6GZTqmbouo8pO dtjTLHw/Zvl5mtx0p015WXIWGIna49cTFwv0QlDReHtYoUSEa+kymovyVlkPHM3nKmZT 1kF85oo6x+4H6LD+ybzQzyONSMKMlTmT8etmbDiH9DnZaKg/8cdsXr/CuLD3sm2SQMSz T5l3+Dky07P6IFc4P4AC04uoUAG52OCBuy/I0y/TfbKW25RrafLixTEiOp5//6hX2JEE guMg== 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=X8F9D3VBNNiWHP1K/GXTbbOuaO8//yDqB8rX7N/eRUdf+3SRtVCogiZULduEq6Jt+t LEwwR5+xEq7uVRxUSpBW/d8jsuoWmy/4WYKLSB6A59tim4YOZQrQFC16wQC6fqFK8zPU NosPRXvv0+AStpmLi4JkBMNPCDcesYKfcgifuGFL6kusVg5UbPnJPCF9IzKOd3KgDUDG q0aVJhUfK2A5oAqcRIGkHnp1DSvoptl2JEtMDqCOqGfrbvqNTjLFBBUAemMpPi7vlgfh QOcuG3mnvnqvkJb6jlss9Cm3xA41OYelgvVeN1yYqooQI8Ex2zwA6lGnYrgRNS4pD8i3 FWNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=a6XIxkF1; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FGiuz2Cs; 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 r11si3362108wrj.220.2020.11.09.10.24.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:24:58 -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=a6XIxkF1; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FGiuz2Cs; 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=a6XIxkF1ahP0cYPCxqWdnFrw7 00i7Yt1f8iF6J8BjK6spMK3912o8Ek6Fl9ZCuDsrdkDj//vYqEZTDQO6s2EWWYIMNqu/FGO7d70z7 h1yes7ECOMBLBDJXMMxpPvrurlHGygIbumupxPOgm1qzmfd/eh80AKnqLXXkxBDpFqiT0NvArxSts AOAt/GGe0PA89q1PFezLLoYxsfK+meGpILMYTCIm/MPL8urszRrCPs5nTvx36GEOoRBAqlpGYrULr 6R9WmichwF+caMrXlawl77PIYwvZO7xOIlOIynG7Y5j2tfGfK1smY48wIKadnKtVMdK9xwsKhLLLX KONiX8lKA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBqS-0001ss-K5; Mon, 09 Nov 2020 18:24:48 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBoM-0000uH-9F for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:48 +0000 Received: by mail-wr1-x441.google.com with SMTP id 23so9806283wrc.8 for ; Mon, 09 Nov 2020 10:22:38 -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=FGiuz2Cst7W8YGzjuH7oR/80riR1y3ryV13ErPsnJPIku+MH0/ysQZFcPAyi6Rak30 A7uyeT+Pv0IY9nd1ybvTN4TTOIXRxo6WyAarJc69qAIgAVWwItf9dE2Xipuv1iDs6PrZ 8VTA94w7a0qq8YfA8iPwN69GCrDDKsiXEpnuvGsK2Q8x1fo6N5raOMUGb46Kdp8/akPj M7cPQ0B3xEAWcsbudiOqaKsqamxeMJEKo93pm8ktcyX3KUUcKcdtzEqbVbAJ6pVplMfw SGiLPCC+vSwii8OmWho/PSnPB70IwNmqiRCgM2kfdWrmSgxw2nTZHbNsJgNpO2ILGkXn Wqew== 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=iVT1p9EGGsdEnCsVdBqtst8HPx1+s5AiM5hgdIuIG/asbGhrsx5VEaNfCtoar6V6pN cKBSa/frQbieN8FozrEIFFrzw0HC7AnNBIom8m8ydlE7L3QzYDRY5G6m1pG9s4YErJE8 JT75rCricRlL6/fcqj3i9ALOw5OuIIRuO6yJuVrBitmjUuuBRuCCB9QoeD3Qtbfag8AI x6rOzzJPfPtRrRJR9eDNtKOMyRw8p5Bx3nBG2JAx/F3EP/Jp6QzJxXGFCWYpzYLD3ina gIlDQigGUhTcKnIcyuba069Mj9HA9UhMLwQnuNUokXKjfjYNXrkL2nY5x737tQS2dSFZ L50g== X-Gm-Message-State: AOAM530piEcvcA+ryVEyBk8eh6ZTfyV0g35Ot9eJtvtnX8ifZjKtfFNA uLneJjMmkpFG1VgzOj/vPZxEwQ== X-Received: by 2002:a5d:670f:: with SMTP id o15mr2175982wru.204.1604946157299; Mon, 09 Nov 2020 10:22:37 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 12/23] mtd: ubi: wl: Fix a couple of kernel-doc issues Date: Mon, 9 Nov 2020 18:21:55 +0000 Message-Id: <20201109182206.3037326-13-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_132238_418330_C41F414C X-CRM114-Status: GOOD ( 16.58 ) 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:441 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-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