From patchwork Mon Nov 9 18:22: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: 320972 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1959299ilc; Mon, 9 Nov 2020 10:27:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3kj3ory4s1OwtXKviqjEWfq6qLdHoh0zKWOXwrl6QU41EL2SmzWNwWlc06baITMoOPmLV X-Received: by 2002:a5d:6cc5:: with SMTP id c5mr19126770wrc.301.1604946453603; Mon, 09 Nov 2020 10:27:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946453; cv=none; d=google.com; s=arc-20160816; b=sZxsWOOnmO3I2ezkZlc6sma8qMCoBpm3ykG4UThnt/z06VfCt6/ynI43wKuzKz7G/g gVTojpOvY9OWvkmL7xM/838xwxZ2/GTkE8AqGHhdeRS16ZGe9FCTQCxoMUKHD5N2C0+X eERFtUDq3NV97cjclbDkPuxbnbvH3PlkGFElEqF0RFr9NNJ/GEpw++AX+s3An9OAzQ8U wMnncjA5wmJ6OEjlr81RWxfIQ5IGzJGO4WfSqgAf63or/erqBxyetGjCjg4utElzs5AJ 1D4ArWIymDbv7Mkr4rlsvn5Kdneo3snoHoUFeJpMr8Otv5qbsq/bQ7H8QiyYoEkp3UVj Hd0A== 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=3B7m4NJNbRKnLTKL2bBWyG0pIubeldGVkoj/R2Dl0BM=; b=oUTVuD8S6AfvkWg7t3ZKw+gVpo/QNeQZLYMsBEzJpwJI1S0rVv8wlw6bygi/5uozoS sUev6x6zQIQnibYo6vJXXYRCiirqwAgf2/X5PyHhcMWu6Q787cs7yKCuhTmN1ez8CzA1 Epd9dlnmmOVtsS9pTcXIoLOAQs/7PC5qZyMRxyUWkMVdcC5kA6388Bqq0cy899rmug80 Yt7GJmdyAu7rjOYSMYlyIycsdMGinOW8QPIjlCpphwuDT/uoSex4SBxvBQI0sNj2+7yq ii+zPyY+mGTPuTc3KUMukrBfDRHSIkOxeLkv38cuVOhklEqvyTEGMT6ugu8Jsyj39Dkd nIdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=ZApkfjZn; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CJgWPOdf; 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 k6si6871320wrq.531.2020.11.09.10.27.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:27: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=ZApkfjZn; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CJgWPOdf; 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=3B7m4NJNbRKnLTKL2bBWyG0pIubeldGVkoj/R2Dl0BM=; b=ZApkfjZnHm+8vDMycAuHdIDiy /KCqVxWeUbOGnHnrZoDLAGjt6V5+wfrvJ00OioSWSsx3eVe7sq01yHel8nB91Jhpsx6RjlXk7u68s NuiwWcU8Q+MfSj6Pr/psiemXCPQzoAvYxsjfkcWj/TzyaHAomUCelus3DxbG5vruUzVF0bHtXZxrm gSg/vSsycdMhoR5pahdXzxKf6Oyt7f1DI/8srsDZb5YzPnMwWk3q+wzKc4yIgp16+YZ1ABb8AolxG RtgVx3RINTG+EO1LAL2A2pB0FdUtuiKIXd0eTyCBMVMXex3LMxFPJEhpVJ3hQG/Y1Q/8r4RiGzZXX 8RNBziFow==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBsq-0003HM-8z; Mon, 09 Nov 2020 18:27:16 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBoe-00017e-Qo for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:23:04 +0000 Received: by mail-wr1-x444.google.com with SMTP id j7so2559019wrp.3 for ; Mon, 09 Nov 2020 10:22:56 -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=ynyF2LluxBEO2JLmlcMvxixiCa/MBQSn7HUEDQ95Ad8=; b=CJgWPOdfZfDFX6jowwB55bCXH/oVH+oRW/NOmFaMU7wqCfffw9BI6AX0cZLLRnoQ83 f1Q3pJnStHDKmia5wsQ1jG/5yLT5iyXJHSbfVxF2652p73ZossGiaeADkwfMVV3VPzKl y3WUZ3gkpVEtts++2sjN4KN/Ate1Zx1Llx1URhWTAmp8q9vb5It/GiVpx1x00v8thRr+ Jg0NrctCAawSlL0MlhXVbqG4J9tngKUVGjMD35l1hjxw7aj066anrVGw76eLOV6PPGpJ +3NJvWcQwSa1y2r2ZhJVX092wzbs8xv/E5ZSMs+rZSbQxaMrOoi1cDjRQZHpsP5bhVsw Wctw== 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=ynyF2LluxBEO2JLmlcMvxixiCa/MBQSn7HUEDQ95Ad8=; b=RGeMhbhnbOthyREWEcvatWWBXs8i5cf8/VpYu4Q09kD2bgOJKhg2bfqkDB5tV9dKkC xVw+vvw/klBUHxqR8Jzk8BswE4a+FDQ0YNW/apKAh3Y2xFz2eMw9zgZJJCjWUf58NUMJ Udzx7kHUGEcRldiSw1bw9E21jEnypztk8U4Wt+MpcykhV3fvftpUrErq6EMoA7t9Rcv1 XlqeCpxnEERSx1aZPhkBEXwHxiJzkiwQTW0SR+98jVUUp82R1SSx77bnPArvgGQ7DuK+ Hu2czK+iE3noqImOfnfZlrQDUq35NslXsc3742ovFdRX2WRS+LDiSGOLwYwbtGA6cXAL pVsQ== X-Gm-Message-State: AOAM531cABj2+VLGn55Zr9o2FKiU8c1R4kpF7zGADGDauTMxUNfFTYLr 3A+onWBxu8qFUY3vPigV1qsCGA== X-Received: by 2002:adf:f2d1:: with SMTP id d17mr2948571wrp.339.1604946175640; Mon, 09 Nov 2020 10:22:55 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:54 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 23/23] mtd: devices: powernv_flash: Add function names to headers and fix 'dev' Date: Mon, 9 Nov 2020 18:22:06 +0000 Message-Id: <20201109182206.3037326-24-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_132257_057040_AFF7B591 X-CRM114-Status: GOOD ( 16.61 ) 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:444 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: Benjamin Herrenschmidt , Vignesh Raghavendra , Richard Weinberger , Miquel Raynal , linux-kernel@vger.kernel.org, Paul Mackerras , Michael Ellerman , linux-mtd@lists.infradead.org, linuxppc-dev@lists.ozlabs.org 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: linux-mtd@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/mtd/devices/powernv_flash.c | 5 ++++- 1 file changed, 4 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..6950a87648151 100644 --- a/drivers/mtd/devices/powernv_flash.c +++ b/drivers/mtd/devices/powernv_flash.c @@ -126,6 +126,7 @@ 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 +143,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 +160,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 +179,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,