From patchwork Mon Nov 9 18:21: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: 320952 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1955733ilc; Mon, 9 Nov 2020 10:22:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7shl2NkzyQaUn8e19VBi+5WcIEY5zL+pVBAvUINkz0pBP3IeH2+u9+vjcGO650D1kV+40 X-Received: by 2002:a37:78c:: with SMTP id 134mr15517340qkh.359.1604946156256; Mon, 09 Nov 2020 10:22:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946156; cv=none; d=google.com; s=arc-20160816; b=szW/HqlBTB0KDJl8Iz+puP7bMQuRA6/lOt7/j5iogt54aUgyCpChCppYhAVBs1Pjlm oSa6rHrMTAE+NOF1s6R6NFZphe5EqJCB/dhZtOIUokKtco10mNpuy4sNTepXhO8Wp99b bBtLxhowtBaStTfj+CyC90YEGr0xxxcWrPdamm1RruM5Eoyg06vHDhfBMv326ErGQa+o NusyslExUQMid+CAhXyQmXfaj7B4ilipYY3Co5DAeSIsLRsUyRL9Exc2C3+hoJbtYKjg RONCtAap2CN1LXUst0XWVUayt9Uk7nHpyQazv7MGotKp7kH14UevB+SZzn2kbo5Eucmn 1vAw== 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=tckvM7Rju5c1u4m85oYCWuAnKIc30tI3vGjTjvu8AcxcfMzpgUaiYVCDjcaYBwqxim pamqK+WsFRklCv0rfIt+cjmvSx8RFoFDQtWmAYmlXgq2Fh8CWHfa817ClS0sh1UL0qFK Wyp05+IFMgA/6ZSThR+hbAHygkk9xgBy4rnf7GZ+vtdxm3Lnpqg0cU//r4lG9p2AcYEa ud7tokwz3tWmJ/IgnOvab9aj9qBs8WjwvAjcsJljn6LGFNfULoQtFLEa2n5BUGGPxgf6 GKVZVCRl/Gu9HnYtl5OEefoOJTiP9ULymMD/J3djuOoD3bEfNhdrM1V+sqL4je8IcsXQ wG2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b="Ky3k/RNi"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MLmdlcfB; 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 c11si316243qtx.31.2020.11.09.10.22.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22: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="Ky3k/RNi"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MLmdlcfB; 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=Ky3k/RNiERtN3SV8fs1/alLlN JxmuIiDJoM/nVS+cKBntGQTs/w79cWIM7kCbAjxE4tcn48d/L4w7jHsc1vcAUdfq9oPkyNPRgRySf Mvr0M0tyTRw2ONSUzd/N1eYq00JZK8PFUz7ZzhmgXMfe5PgzL8crST52YJuvgBERZErPcHi0D9uiM OKRuEAhAXaCd7ER0uj85UCLwqNlQj3ltEf/9sqHpLN0J+wc2JqdAY/u+gCRZ99hHaQDKk1qqjjnTt 5B7zcAqs31DLlwzIWGoKzkjSemYK6OJM0gWfhDq/jzJJHMSnHX1D3lIXKI1/1g9AZ4GO+z+Jv+kfq jBdHdtM1Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBo7-0000oP-5c; Mon, 09 Nov 2020 18:22:23 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBo3-0000n8-Jf for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:21 +0000 Received: by mail-wr1-x442.google.com with SMTP id 23so9805188wrc.8 for ; Mon, 09 Nov 2020 10:22:19 -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=MLmdlcfBaJHqzeKtW05Qu2AgvRk3QbkPgKqYxdcQn/1A/jiffq7BuMemkFyCQCjI4n dh15uXBZl3q6EMSToflbkjhECcXRr8rkVjJZCSfow88lt6hKWFTXApRMRg3rsHcees2I A/TM7IsyzUHeTYlz0v/XqmYnRCuIJhjhqvR9GZewB3NVY6MQovF2y6f+SZb+vIYUKb4z xNsscJVEDrpBbfj15bdAK0oJD5y8YmPjZLCL6flOu/kzJlOHY3VebswJbKxKdV6yfgEX rnct8wFTkeNme6OuqwlX41/U+ZNk4vbTPxg7dDLUtrTJQFvsbN63J7+slDFP9UoSGxkN 25vw== 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=I0gRSa9JDnR87vdv4yAE6f7+5lcGX+COnDPmEzcdOGUL0uDKCd6PRW+ufy7tJKHZpT 47fPVjtzLHcYjr7XLrEGewTgkEYvbPQ62R4fX4GBY7Kxk5WefVPbg1MoFcwOT/8KDZz1 Q7u/JPyLvVUsRAjYUcugipNIWztrzSfDWIDNeuQy2mkKXnhWh/YW/6DBZQi89cBOtP0m i5IhVErIBdSsbbG7y6dDtAVJHNh7JlO/uymi7mUYE3MH5K6QaWXkmfoeeVe6j5jYYtn1 mwqbouB1r6tXV5butl/rxgR6pkhZehaJnVX4wRrI0KJ+XLLFxF1GoYeVx+Iip9QZ3PT/ Nvdw== X-Gm-Message-State: AOAM532MWfisZHIOukebO2XJQXvG+SXOyoeI1lPLO+OblZ+RoUHSlnpp gdche1TG4lfydpBoscoJyluyoA== X-Received: by 2002:a5d:5146:: with SMTP id u6mr7528845wrt.66.1604946138536; Mon, 09 Nov 2020 10:22:18 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 01/23] mtd: mtdpart: Fix misdocumented function parameter 'mtd' Date: Mon, 9 Nov 2020 18:21:44 +0000 Message-Id: <20201109182206.3037326-2-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_132219_735290_276CB71C X-CRM114-Status: GOOD ( 16.35 ) 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:442 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 , 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. */