From patchwork Fri Nov 6 21:36:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320820 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650001ilc; Fri, 6 Nov 2020 13:37:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjZD0auSWIwugTD9UnKRkoCpEL98W9kLGBjhM0DVkZU4GIut7KTOhXbOYcKZ+IdHdksUp1 X-Received: by 2002:a05:6000:1251:: with SMTP id j17mr4571212wrx.425.1604698653808; Fri, 06 Nov 2020 13:37:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698653; cv=none; d=google.com; s=arc-20160816; b=or8Thcnr1ZRgUGROvZxdvb9hqy87bYqAjqd+gnyd/pulaIdagLgRI0oR5R2KKsTjKy z7ChA20+Nfb7AntTWdtTwDZ9hZoKKj+twMKpypuervkr1BzboIUBst9KPZHIMPE8jmIt EfeqTWKjN0/xLoLDZMJHXZKnHSNWmE+XnU/mRg9bLtq1SOcr07ngEkFPYJU95DX7WqGh rSN6yKF+n8XCXlgLBytweaWAxTJOwhFQA2lQ7xaA9TjY1OVRSIAw7R4zUtv66D0Zzz44 IBdDhkopKyoJZXwkFhQQoyr1gUjANbKaD83zZ4in7gD1Qw6nXG7CvKV3QM3O1GYqer94 MxYg== 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=j2cGASOw00F50LRrT9aDJb9wKzfozWrAyJjOeCBqMw8=; b=xL/vEhKNpduHqbwOR+N1PKgVthoxY1ClAksvnCjQIHjsKARWBXJ5UBtUEalDZOFQ2c pT0p7tSF4/OpetZ4EGbzIWrKtDoIycpe8yNQsWA1Lmd6dgn464Q7JDkmcQl4oCMJP/in 8ZsmXa/d3vUWAWCGtvG2dmejqjQf46vHDS7TNpNCBivRfiQECiEHO7v/x9/V7qUzdJEJ gkQPlVw0Y16/lvPzWehlPZSIvYUEsIhhT6tv/7u77gE1PwM+kWFQXXUtXenzlNmE8Q80 XKJlvlXmBITVgIhPk+zgNkLlHu93knjwClCA9jdIR67yPAwn/goCApDw+gQXBOmfOWqL Np3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b="2/cUahjW"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=AvQYLR03; 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 m12si2228910wrn.360.2020.11.06.13.37.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:33 -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="2/cUahjW"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=AvQYLR03; 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=j2cGASOw00F50LRrT9aDJb9wKzfozWrAyJjOeCBqMw8=; b=2/cUahjW4y57LVQE44hd+tAOq 6EY2sbWZ31w+ykj0Fz94+2SlR5FxmT8vnX7HCk2eSUagrrH4wiqulDhXcI5mq7jVM00e7Socb+7QW 2/J40J0zLdlh7zK2q3Bw2IvuMGN7O/GvlNvv93/2i/kxbBPn6JTKYNsNHl+1LxmzR7B/nzHnt01rS /roUcKthcLxz2YKjp9zKiQJx0xQTYJ/CQOF1rxb16Qqu9wtBFzyMLTWGpdOFyjBOWv8hHgCa240/L Bxn/LXi4pTyH+8dFehsruTsQQMQA4zEVOxenoqIYQswnTfTMQ9DNZpS4WtLT/oIKIgNLftlSzyu7u 0i6Mjed0A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pw-0002YN-4a; Fri, 06 Nov 2020 21:37:08 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pq-0002Vm-2a for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:06 +0000 Received: by mail-wm1-x341.google.com with SMTP id p22so2814894wmg.3 for ; Fri, 06 Nov 2020 13:37:01 -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=6k1rgmOCefV5rf9QkuupaTuT0YgnMPjbaR9fAX+QknE=; b=AvQYLR03xbicnhIfWhXEPPViOHs61cAWDcBBAqxMIf4hhzRHHR1/rYaxTzWUcYQ41l jBKu18wordjr8dVoLYX0J0VdnqWCmrXmE0Xxrr5bxuVMV4Li3B6SmzTdS6QnK760I+iC r0w56fOvAfzLGwxhPA5akV/jLc0Dor1wwDU+IGgFo8G6vvUHtbf6CmQfUcIwedXCrsrr ZVdAgDCcBPe+e+zYqr68HGyPRUgJecO462ljdpDLnm5aFTHMJZpgG6GnBb8KONOTt9g2 uixz6/8oSZb/9BA8H+UJuX6uzTM8PDk/IV+6Mu592JQN09pGrylflCQvp49U8sseQ+V1 yRrw== 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=6k1rgmOCefV5rf9QkuupaTuT0YgnMPjbaR9fAX+QknE=; b=uFSq4y0zy2itK0iuBqtqlfpLjojN71bE/U1x9U5IYnlmFFcQg8BS21NKr1GrS49mud X2cBd/p2xoXLRCfCR4IBW73Xq+3XoJDxDNC+LScRTiuIJ11VTnTFpSLgbgK0vMQa8v0z jjTqgYL/+gHg+01mU59Uuyg9p8cbI0IBlX9aBWkCYKSwBcZHR8+dSvBlmhu5SApAcP4w m1pvXf+WE5viYKSY+qtE0in9j9zKMLFqpj6b9hueX3Ti+IxuH2D7D9Ext99P4V+56X1W 0Y0O7Xn1ucE7qKxHrvWuT/X8nCebvfg1yjGZ7aj/4OTNmcaM8/rR4j/TG9M7yyc+TZjQ HG1g== X-Gm-Message-State: AOAM531INsFxZiHXC9YanF+vGtu2o7sgDzQcKZg1CQaLf+79VQ8ydkWi iUn8QlnNPmHoEGC0uRpxY6Xgqg== X-Received: by 2002:a1c:750b:: with SMTP id o11mr1686324wmc.32.1604698620981; Fri, 06 Nov 2020 13:37:00 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:00 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 01/23] mtd: mtdpart: Fix misdocumented function parameter 'mtd' Date: Fri, 6 Nov 2020 21:36:33 +0000 Message-Id: <20201106213655.1838861-2-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_163702_164394_A02FD4AA X-CRM114-Status: GOOD ( 16.25 ) 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:341 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 , Nicolas Pitre , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal , David Woodhouse , Thomas Gleixner 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/mtdpart.c:300: warning: Function parameter or member 'mtd' not described in '__mtd_del_partition' drivers/mtd/mtdpart.c:300: warning: Excess function parameter 'priv' description in '__mtd_del_partition' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Nicolas Pitre Cc: Thomas Gleixner Cc: David Woodhouse Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/mtdpart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index c3575b686f796..12ca4f19cb14a 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -292,7 +292,7 @@ EXPORT_SYMBOL_GPL(mtd_add_partition); /** * __mtd_del_partition - delete MTD partition * - * @priv: MTD structure to be deleted + * @mtd: MTD structure to be deleted * * This function must be called with the partitions mutex locked. */