Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1585390pxb; Fri, 6 Nov 2020 13:41:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzNOe+Ll+0wmt0MqZywuDcKahrIinLern4vdvTKiRNHbYYvnzpOl955nQRABWFmHxEzsSm X-Received: by 2002:a17:906:c094:: with SMTP id f20mr4244725ejz.550.1604698868618; Fri, 06 Nov 2020 13:41:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698868; cv=none; d=google.com; s=arc-20160816; b=bdYEl7wq+viCz2E6aaSSUG4UYujUSedkrJX2myPSZVFfWFwi3dVjyZZWYmMCxsRlX+ eLmXENcUgGlfsALMYlJTOLb5Nld+eeaw1XGOGniON0W03LMxJFYEuAXk8nxDVDu7wCkG UQ/oCyKCG9+50G/AS0MRc5FC7wzWzlHgTk25yRQVirOVsGIGC2D7c2oniNMdrA3Qlp/0 n8Him7MJWcWnXa+CLUFAir7eiJyEsmfk7YF69crQyAmquQUuCUy0eVYwZ5aiyG2kjZhz CdsmRChBkQQZD6W4YwyfuddNXAJipt9e9Ty0cWVNLsK+saa/PRc/1L/lBOQA+yC0lHZ/ 97xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6k1rgmOCefV5rf9QkuupaTuT0YgnMPjbaR9fAX+QknE=; b=B1MIKEqeNsBKV5fTv7oQmRjadcsQfiPAK8D9xIXkcnTr86BlVW7E6N4sDLuL6M6R0I e2JSlWbBnHhu7jEXuAmFheg30FLdkJO+WBNMj01vlA4zk56Kur17kHXhRKg9EE0CnLeU /UCLPKDmqgIwujwfs8qTGDyzcMpDDHjviCmyJwwSiuWOZbPEhJvuUNBWUXVIslwjHmyL 9RJt0P8Pc6rtk5IshkAZH2bM2dd7a1CSoGav0y5Sn7g1eOSjvBkOm3gTjhOMKlpJ2d4F rd1GoMrQ6zgGfIpAb5i/hPE/Y/GnePW3Nn/lRl60ttXiCwsV6dvL1nV7v7/BifAMPUPc w1Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AvQYLR03; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z26si1663444eje.469.2020.11.06.13.40.46; Fri, 06 Nov 2020 13:41:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AvQYLR03; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728200AbgKFVhC (ORCPT + 99 others); Fri, 6 Nov 2020 16:37:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727859AbgKFVhC (ORCPT ); Fri, 6 Nov 2020 16:37:02 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FE60C0613CF for ; Fri, 6 Nov 2020 13:37:02 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id k18so2620544wmj.5 for ; Fri, 06 Nov 2020 13:37:02 -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=CmujsNwEkdAVKbiM9fAccsPI1Y3gu49fRXWmlERFnL1mfNrZgWPPsv01JOb+61JgYC dbkOvj6j75sPq9yxM6ttXDAQL/Xjj/8TM/1KF6GjLgHVmAoV4l7cA9Jjc+hLxCIdA/tQ 2G8keKBFcfQeaixcFQmxV/ZFUdI9gTWC9Qeaaci0dSWf9YQdYxr42j5hPPOUM5WayeUp SGG/Y6/EaN8zh2tOBqtfIKGWmP/aM8eY7HAmFDGWolziInhLEdMfmZtFPhMQE1u/W2I8 l0/9hAEBZo/fLvbJABJpXcZa+MnieuD5lydsv1yrI6y90E7FWRLg4XiuMngplICT6v9O IdLg== X-Gm-Message-State: AOAM530nuqnyeIP90gbX+OJf4CXh6LRE6WPlJspLaasClCAC8kuZ++HF dOQqpT5jN8LcEWumAkEdhdcVpQ== 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 Cc: linux-kernel@vger.kernel.org, Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Nicolas Pitre , Thomas Gleixner , David Woodhouse , linux-mtd@lists.infradead.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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) 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. */ -- 2.25.1