From patchwork Mon Nov 2 11:54:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320286 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3664658ilc; Mon, 2 Nov 2020 04:00:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2ZtCFlRghYw6VNlLKblsEyOzYfvEiVqTpQY/XURKV9YQ9V9hhRkY3As+/pff3/6KFYUc5 X-Received: by 2002:adf:bc4f:: with SMTP id a15mr20057630wrh.139.1604318407256; Mon, 02 Nov 2020 04:00:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604318407; cv=none; d=google.com; s=arc-20160816; b=QKP5TiYH+Lkh0l7/qMOeGTJb0rQOoUxtTQBa8HFUcmmzc3K1hZi07i1ae+RuToOj0Q KVNh94Zq+tZoPdTsK8iuw7vw0S5k3kGmYKWjd4K1GOKfexbHf84nvX4SsIJ6K+zlO/RL XPar/6MkDkk11pJbqsrPTf0MisW2M85R0UXtzI+qINQsXihG1uysDqXzLxews8KDxZhk 2qAopRPImmJeywi2wXf4f7fR6Floub9v5LZ3Wbjs2dYffSsH7FxjLHh2RmqQwEgZd2NU YtySWpmw7iLFlDBDhuDQQZRT12+n2wYQl7UXmf/6o8P/IxyQ7TapNjDz+0YMBkRjsfrk G1nQ== 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=XbR5qi0cCCG4IsMZWef48omDENjBLc2cHLkivMZjmmg=; b=kFdF1GgNQ9b/rL+ozFJ7ONyLnCLQ7BJzIUVxZAJN8vUD7HtxGzBIl4S4H+Ei3ms8e7 CDGu4mXYNY8fmnj5XHVnZp978728x+iAhWC3tYMVQVerTieg/uflwjIJMTXqNTJufBH3 RqB3Kgi/SEU7rt5MN/uOekq8BE161AOp5AGgsB4ranQ1132evc1VRvjrLuZ0QIoRnwWr yXVRBlv061qUCDwYZfQB95bycYueSkyoF0R29sV2qGUlc6HBwuj9893aoazKr1NYnt8U ZT6VVHCNh5GK2ifpQtEh+lyc9yF2ldAJQ+SaStHLVjdawDAGO0Gx63+dnOL1VgWTL8TG /zFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=avMoJjB+; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=JS+Kwdsw; 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 t6si18066468wrb.499.2020.11.02.04.00.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 04:00:07 -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=avMoJjB+; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=JS+Kwdsw; 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=XbR5qi0cCCG4IsMZWef48omDENjBLc2cHLkivMZjmmg=; b=avMoJjB+mwadfSI8aeOUgsvpT R7y02Vcq9MiISKDi+I8D67BxakyWCVBdfXm3nUQTDLTS49o43v28FKP4KVrAguYWlKOdKnmvbQvzz kY0HgBAlwoGLfE67Sa/kwip7V/UzVPZvWkUjKbsMMpPQU1b7ylGixjtXHMCY48nmAtcl6Ozrlt/eX CmDOh7/nfduXGkJBwvwS4MOCgxYYtGJ+cyw2CEytZLPcC7tvloh7y7cvVQie/Bl71GGAUtLU0mYfe X2Ctt60vMo8kY2/5y9ihdtlsDp8WaAwPGhuakxb7pTpwV49/Er6Ctqgttg/ZHLx4Yf13SGed4njKP 83wbbW9cg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYUV-0000MT-9L; Mon, 02 Nov 2020 11:59:15 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYQ7-00023x-9Z for linux-mtd@lists.infradead.org; Mon, 02 Nov 2020 11:54:54 +0000 Received: by mail-wm1-x344.google.com with SMTP id c18so9106483wme.2 for ; Mon, 02 Nov 2020 03:54:42 -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=YRzuWaCfIw4UTs2aF+5rmwioSm/r/nvXMg3tmaX+2L0=; b=JS+KwdswLAieYiaVeglSx5ggqAhqLpcikTROj7r7BZ55giY22O3qr5VILyrUR4yONv UAruY8PiBxCqihxjeC67TcC7ye9Au72twge4l2BcSioJyYz1PMNuh41qs3FzprrNPvbI FHLyC0K835GWyx+1GV9YalD1Bd8Sce/mRu8mP2CPSUSmo/6F9XuEYdh73H5Jqw8pojNJ aTD22WfqdQq2A8BhX0GeNNwaNjMv6U1rPQJzCmNu81+Vr1fqwcquHFk+NKPDlYt3/K5e adHhhB2e2J+MIVdkHOdnx1VyZWF99+Kqaep73B7geFO2cQgTGZCefO10Quqw/jDYQM5X s0hA== 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=YRzuWaCfIw4UTs2aF+5rmwioSm/r/nvXMg3tmaX+2L0=; b=EUp5klr0JvX2XlpoVNyQHjt34OT8Euy51iJ2wox6lZFY3PEcNPmAVHZ/mzUZQ0BHJu nU5ObVA98SJOnptQAMIUfgz1cGwfVUd5Y/Z2Vggo3xCA5MMzDMpVPfAVlu1vePs8KCuz zOLRRBMiZww2YrCk5e2yFrHPiLsGts56rVJEyhRkOjkL2IgUrKBMHiP3rnqA6nZUsRnm BO+f64iudzHPoYbSeA6NY8a+iZJHSNyZjjtBFxpnMeudYyCcet8WFi2EIuxGcH8Fjsz9 4NiaaTD6TJQ/9KsPg9sVjATgEZ56Ucd2kAx2dpX7lflP2vcTyrCuYNTpy14Hs97r6tfV 4FYw== X-Gm-Message-State: AOAM533fpT9JcSFTPWuj17LrgldEmcVQt85NoA3Dz1P1tzB2zF4ZMv5V oMPYeVGu6S4edM5RBncMvrTyIA== X-Received: by 2002:a1c:7715:: with SMTP id t21mr10168153wmi.136.1604318082123; Mon, 02 Nov 2020 03:54:42 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id t23sm14284010wmn.13.2020.11.02.03.54.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:54:41 -0800 (PST) From: Lee Jones To: vigneshr@ti.com Subject: [PATCH 23/23] mtd: devices: powernv_flash: Add function names to headers and fix 'dev' Date: Mon, 2 Nov 2020 11:54:06 +0000 Message-Id: <20201102115406.1074327-24-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_065443_474606_44EEDDDA X-CRM114-Status: GOOD ( 17.18 ) 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:344 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: linuxppc-dev@lists.ozlabs.org, Benjamin Herrenschmidt , Michael Ellerman , Miquel Raynal , linux-kernel@vger.kernel.org, Paul Mackerras , Richard Weinberger , linux-mtd@lists.infradead.org, Lee Jones , Cyril Bur 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/devices/powernv_flash.c:129: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:145: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:161: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:184: warning: Function parameter or member 'dev' not described in 'powernv_flash_set_driver_info' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Cyril Bur Cc: linux-mtd@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/mtd/devices/powernv_flash.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/devices/powernv_flash.c b/drivers/mtd/devices/powernv_flash.c index 0b757d9ba2f6b..32cb0e649096f 100644 --- a/drivers/mtd/devices/powernv_flash.c +++ b/drivers/mtd/devices/powernv_flash.c @@ -126,6 +126,8 @@ static int powernv_flash_async_op(struct mtd_info *mtd, enum flash_op op, } /** + * powernv_flash_read + * * @mtd: the device * @from: the offset to read from * @len: the number of bytes to read @@ -142,6 +144,7 @@ static int powernv_flash_read(struct mtd_info *mtd, loff_t from, size_t len, } /** + * powernv_flash_write * @mtd: the device * @to: the offset to write to * @len: the number of bytes to write @@ -158,6 +161,7 @@ static int powernv_flash_write(struct mtd_info *mtd, loff_t to, size_t len, } /** + * powernv_flash_erase * @mtd: the device * @erase: the erase info * Returns 0 if erase successful or -ERRNO if an error occurred @@ -176,7 +180,7 @@ static int powernv_flash_erase(struct mtd_info *mtd, struct erase_info *erase) /** * powernv_flash_set_driver_info - Fill the mtd_info structure and docg3 - * structure @pdev: The platform device + * @dev: The device structure * @mtd: The structure to fill */ static int powernv_flash_set_driver_info(struct device *dev,