From patchwork Sun Jul 30 22:18:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Corbet X-Patchwork-Id: 108961 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1599746qge; Sun, 30 Jul 2017 15:19:11 -0700 (PDT) X-Received: by 10.99.129.195 with SMTP id t186mr13883038pgd.287.1501453151290; Sun, 30 Jul 2017 15:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501453151; cv=none; d=google.com; s=arc-20160816; b=DRtHHkizUTBhjxJ0V1WWoRlJM3dRRDOtqhhiqsqo5e7H/wWCKP5c7puitPWSKo3qU6 mAJ7SQedT92lVohY3sJWWbcxWY5HfHvj1UlDHZluyq0SYcYrX5/ksQx53UcFL9MyCLzt RnZn90A8jdxkV+c3awl4yjwXpoB+/URuHzSOkYa/So5sjgkC9CNEDf7SLsQ7ld9mdjDB G0fij1O1ticY0QTPwKyj+Duy1dyFrFwMSKJ9BLMfAbvn/pL987MbIza5s/l8tTa43CHL IAmc9vT1gXu0dQoSZK6+HkM6GNA8DBe6e2YY5wusXJOfo4WXhSe60QtXCkyXINFAZ+i/ a14A== 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:organization:message-id:subject:to:from :date:dkim-signature:arc-authentication-results; bh=7bEzQayKGvozWRQLsZTbJmcL+kcL0SKBnGoljW3sXFc=; b=Sms/nxH3b0rxpcUq8UaF8xs/idCNs07ZZ8Kp55DesT5LiX00Ks8z2+QyOHzdRhODcS ++UZeL8dk1rnljr0vOGo1xOxbN45JJhuaojohkCAqh3HjgtEe4J6lEUawUL/1TnuisRa c3dQK7wdzQfiKmAbc9AsVLi2WlctsEy/bUyeOEoACFUbEXM5OF4SMC+RvczoIuOiFFUP cRZ64I1SFPiSHUfO3z3ZfmF/9H/0glCm8zlw9fuJ/uTKIGb7RWs2TIVi1LVw75w0rt4b Z1IcFEkqZvbegALP3xcmWQqHX6jJNwu+PjAQ6nFoVupMFFQNPpIus8XVU/rF1aX9SUzf /ogw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.b=qT4dQ0p1; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id x3si16485722plm.791.2017.07.30.15.19.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Jul 2017 15:19:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.b=qT4dQ0p1; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7bEzQayKGvozWRQLsZTbJmcL+kcL0SKBnGoljW3sXFc=; b=qT4dQ0p1m8PJbI yoFehIXREujOXFt/g0i7MFtkwkbmhaK0p7jvm1awy9UjRNKUoYw9O9cooAWW87Gk5dQ0dxvIA6iW/ FGmDgQcm4I0rdmKqvG2KUR09l3QdzWq7OA+RUA4E9DEapD3whGcx/RzIUCmPoNWrHDXeVzZ/Nr/O8 lR6jWT0K2mXsZgOyZEemBDID8xTt4h/V4w8s4QEHGmxWyERSIa8v1Co6qSfSrJ6CEXcrAIpO62UQ0 KJEXF4CWi5l/0nyh2DCfrEZVyL2OWKVlMV5yZDeKH35Iu7SfvCqYvwUmXEV4MS9yNYKOP+uanLwO5 8nk63pjh33AqTiXxdMow==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dbwY4-0006Mb-HO; Sun, 30 Jul 2017 22:18:56 +0000 Received: from ms.lwn.net ([45.79.88.28]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dbwXd-0006LS-7R for linux-mtd@lists.infradead.org; Sun, 30 Jul 2017 22:18:30 +0000 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id C84272DF; Sun, 30 Jul 2017 22:18:03 +0000 (UTC) Date: Sun, 30 Jul 2017 16:18:03 -0600 From: Jonathan Corbet To: Boris Brezillon Subject: [PATCH] mtd: nand: Fix a docs build warning Message-ID: <20170730161803.1593200e@lwn.net> Organization: LWN.net MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170730_151829_314184_6F68BDA1 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [45.79.88.28 listed in list.dnswl.org] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Brian Norris , linux-mtd@lists.infradead.org, Cyrille Pitchen Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Commit 0b4773fd1649 (mtd: nand: Drop unused cached programming support) removed the "cached" parameter from nand_write_page(), but did not update the kerneldoc comments, creating this docs build warning: ./drivers/mtd/nand/nand_base.c:2751: warning: Excess function parameter 'cached' description in 'nand_write_page' Remove the offending line so we can have a little peace and quiet. Signed-off-by: Jonathan Corbet --- drivers/mtd/nand/nand_base.c | 1 - 1 file changed, 1 deletion(-) -- 2.13.3 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 5fa5ddc94834..ba57d8970f27 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -2741,7 +2741,6 @@ static int nand_write_page_syndrome(struct mtd_info *mtd, * @buf: the data to write * @oob_required: must write chip->oob_poi to OOB * @page: page number to write - * @cached: cached programming * @raw: use _raw version of write_page */ static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,