From patchwork Mon Nov 2 11:53: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: 320273 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3661733ilc; Mon, 2 Nov 2020 03:54:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTmcoqTkjqRwIY0DkZTI4PrWE+5aQ9r+O9GIEk2xhSLxtQC8jOHPejaPTouqqL0Z3o51Yw X-Received: by 2002:ae9:f444:: with SMTP id z4mr14068211qkl.338.1604318073830; Mon, 02 Nov 2020 03:54:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604318073; cv=none; d=google.com; s=arc-20160816; b=ydJmt2cyXqoNUXDSm6eO9Ul4x3Ds54Kyrzr9qy2qR055MhAXn439cob3t4xRyReSZ7 Y5dId3xWUlHVMwcdcN4RjiBnjio8svLnK5MZCnL8iYkMZEyTGxCxafmCFuZU3ExINUir 4E3lCD6q+s+Y0hLUBSZTv/JkKnomFXRwh49d1wppmkDmQ1Z0R+dAX/mlYlRsBqhBGK/x H8FpaIUNYpZZJ26KYIuEynQuMWhdbaGy7lNm4g9DJQhE1bXCTjbEIxmikfZPDc2AJ/U9 kzxcJeP4mutEcvuLVElJ/Hij1EBJMzpFfyH5O2Q4JA0rD7c94BWXQ7xN6PyOnJ0FUZ6Y dc4g== 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=Etarr4OkZiBJ/2MSQXp9xkyvqjQev179ZKWGgsniGoGCvbsQeDDqtif2yRvnPHD4Mi tzh9qnElzmeDwRWrc1ptMKaGVnWEL3u+oXXCtE+74o1HIOWXCtXhXJK0dHUA6j7eU8fM Un/R768vgtdOK9f77r7rVtfEYMrveL11GX3WvEHQP/ajnpBgB3SCoGFDFfSuzi1m3Rba xEdRoyRhnVTIs4cVoXQgLpHlDw1J3S16WvG3Cnh1uD6Rzy5nawsMAbUiy3d/9zmgyiiK gkyIw5pmN8vbSWOehlvksHuPK2XMvDiMbYStaiLQwYxB9hPflRybKKkLSspSkk/5tPcn p6tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=TrBf5RTQ; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=y5VvOFmQ; 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 o6si6069896qta.164.2020.11.02.03.54.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:54: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=TrBf5RTQ; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=y5VvOFmQ; 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=TrBf5RTQHs0ZQ9nFl+K0fAACm 0hbhcib+A4ms4Q4C2mHztcXJLDDqP4Ha9MZCdzG5Dv/p7NUbXYPCk7Nc6fdilmRkRwgA+dU1y4edI FOW6EaWoJ9+VB4jHkn1DPk5mzoOnATpwpp/PYcLnlZaTXCUnZxWs22eXPeq2TL/T8HArK1dRMCebZ Ka+3irx6x0Fjn1YHOL14GlUpfgEEH2Uo+5eiqmw6VuK4TGwdBMiE73GE+tF8Nf2spShJUZ+5/ubqS hn9QNLvIkV0xl71l87ztJzMLNE+DPRv8KHThekuQBjyyDR2ZMZeSJd/Jnkz89PqKyO+WuCOXj+1Ru lW1a4cyEA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYPg-0001ri-1H; Mon, 02 Nov 2020 11:54:16 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYPc-0001py-7e for linux-mtd@lists.infradead.org; Mon, 02 Nov 2020 11:54:13 +0000 Received: by mail-wr1-x443.google.com with SMTP id n15so14287404wrq.2 for ; Mon, 02 Nov 2020 03:54:11 -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=y5VvOFmQmI4ALNtwbtkNl4OGbZcjhf8zgU1CuhmF1lgt6xx89bPvfTiqcAe8fMJX/T hqcZuHTNa+0cRhYjgxrIQCiIqwvAFqAThlxlioPAyOdwbn8tsP3t7lgxKk1iWPQLPEz3 Cr5B8ucqnYxWmXg3bw6gecQ4pGSWq27PMipZXIIPkfSH4iA/alWSqsAZlbJsSzORBZ1D No7fCGcChc++FGtT/8AexKRMZMNn8B8VnPGvrvdUXqGFAcqzKgSAaDfuYsEx242K03Cr 9Rk6DsLUGgCDT4FDFz0qzbcLorZFlPseAr0NClD5fvchTFmbN82Md61/2XznR8FJ1r6x DBNQ== 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=CZ6a65cz1ic/Ld3ifLtV+6rfaSkgUC7KdL0Sc3qVIjMAcnoZ7CxeapNlVqGEFJDcEs RascHgATOdJw2yV+EFjTEfUI4jw3wSFD/rP85eixcig2DYhMs+xS8nuXoL3VIEBdgrq+ 126Uv4e0NoAYu1oMEx1zNsEc0cD05RzdqocNVgrRC/0QuhpqWrxFXsWLlOuJaVdEKHWo CPmF4OJgwl5dUFZaHT9aScdsD+NtOWU/3dcK96H9ip8uP2NjYMOP9G/e2UyViYbkf7+r pOXhPuKQhyZzY9Y0Wx3AH0SctQ18ffQmwyTscy1am54pUs0hnCM1HmesmFXVwHPoK0Ot 9hWQ== X-Gm-Message-State: AOAM531m+mKp7ou4+6FhyjBK7kcziV+/xdk12uwwXtptQqPrZKzKYfq+ tCZpGPjD6wde+/SPyJUsPu9CsQ== X-Received: by 2002:adf:804b:: with SMTP id 69mr19674908wrk.274.1604318051232; Mon, 02 Nov 2020 03:54:11 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id t23sm14284010wmn.13.2020.11.02.03.54.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:54:10 -0800 (PST) From: Lee Jones To: vigneshr@ti.com Subject: [PATCH 01/23] mtd: mtdpart: Fix misdocumented function parameter 'mtd' Date: Mon, 2 Nov 2020 11:53:44 +0000 Message-Id: <20201102115406.1074327-2-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_065412_633106_8B8F0606 X-CRM114-Status: GOOD ( 16.15 ) 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:443 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_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 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 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: Nicolas Pitre , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal , David Woodhouse , Lee Jones , 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. */