Message ID | 20201106213655.1838861-24-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651970ilc; Fri, 6 Nov 2020 13:40:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGtXDucFrRxHuDBBm22g5Y0TE/zGPvMwN3TdG5Ja2EwCj9zxpJ4Hh5C9O4ip8H8wJNsEL1 X-Received: by 2002:adf:c388:: with SMTP id p8mr4749365wrf.307.1604698849002; Fri, 06 Nov 2020 13:40:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698848; cv=none; d=google.com; s=arc-20160816; b=Xhb85yLOgqghMFJ30fml3XzVut0y5WekicFd+bKdJehIHmzdoKqc92fBb9W5f5OvVs wcO+TAUiP5S+g+56KGOoeGy7LVia13zP/KnjFKFrjmkuVOI203zdDvcGcmhBPbyhcqSC mVab8ODOXorUFj48CcLZGLNeIl++4kU6/Q1uTCo3IVAAs67M5WZjCdsrcfREWGDG4EWc YbLlqCkGfPVT4YyF1p38bfvlXYd6WmnzOk9RadmTYys5apgEtcxBTa7K6uVKJIz9LkaY iftBNEpcV1kuaXeSVtxR8xz8kceXUDk6P/gTbinEI0SWn6l7gy3juEiDB3Ul8STEOMBM Vvug== 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=bCLPlBESnNvF0itrMLsuN2gm+1sfY+0YpC4Ry9Lr/j5sHx+x80iecn+HpbQFCg0993 vxAqNBWtCI94DhdPO5wBfGo3/ZINpmbsGUroFxaKfD6Cp8lIoMJjDYDzn+jkUBv8pVD9 pF4zj7UM28AByHR5t8ywzfVesIngqsA3ry9CTC5G7x9xpg6vkCLrE6JchI5tEvs6BTf0 41cckoKds7lizsXVsCRu+aFuOTKpxucewmNyyHZQu0pWdIEwcWoOvovKlcY+TRGtgRvd 9obm+nJqw/0nDOTOJvU4OS4LNWJljpwaYSvjH3PAZ9wZhRH/cJeLzgdGVlOGnGp/brIz ZgOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=JNCmjWYV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=sJW30ndV; 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: <linux-mtd-bounces+patch=linaro.org@lists.infradead.org> Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id w2si2276639wma.67.2020.11.06.13.40.48 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:40:48 -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=JNCmjWYV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=sJW30ndV; 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=JNCmjWYVlFT11fdDntGTBuxD7 UFc22b+vfJ7YKxIhqY3ckCPweqq0YRRpjasU4EHc+HoK6abJAjGrGkZxOxjX9wGaWqz7DMkZs0zHP pOf29QUPgqyBiBUFpMpFkxiN5s85sDznOujPCqdnAEJhBIxEG+k1TlBgB/1ZMBc+JNnIK+pvNfzgY +E0moNYQrbu5eCSW3yXk++R54DnHHcU4bUiyt0XSPfz8XCX5sjpjKpBi3O5DW8tbfdHLvchL7XGmq OVW0x9+sDM2QTHRE+lMmLoCUhNkm8vZ4PhuO2VCbvNFZVFFpck2I9l4M++vXU406gDdPcQYmrlFXt ZXANTpinA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9TJ-0004Qp-VG; Fri, 06 Nov 2020 21:40:38 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QI-0002ik-Ir for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:32 +0000 Received: by mail-wm1-x341.google.com with SMTP id h2so2825286wmm.0 for <linux-mtd@lists.infradead.org>; Fri, 06 Nov 2020 13:37:30 -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=sJW30ndVh1qGXkUaw3pZaZEjF2ef9gfmBHcrLUN8CKyAoBZToeJQQGOgveJ9pOnH9G iLnj25fAUb5CHE4pzNXFTP4bhMNeVU9zyQDF1cWEHGd11k8kQJFQMEHxT3Dl1zjar9i1 fLeGKBfoVm5SSIuvPhaI1FnA013nnfZJ8yjEL9YynAZGNTKmaaPzx1Z8entolXVdwDXF CpfAG963D1ALbbrNpXiYanN/0p8rW8kbDmkOIfYRs2zp7QT0lXC2BhMYgEqAXpdrHyfE U/pK0fH1kVdmS6ynQhtxJ6E8bO3EBpBdOD+PU9rYMIdej1Dw7doRpC+V18xrgEa4Q7rq 2Adg== 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=ZBkUKhLeNywQO2PJmQidBV7942ZdHRu44BCjEbuGUOJpQs5PsuBECDdaDN+lyNkVqI JltbYrKDOWchXS5YCJqBnFSZ0Us+Hk1M2da62sWRRgg6LzNeF+GHLuYhYsZcc8QDAm0t FGhx+p4W9H/UH/2sPl85Fk2lvyFIvdZK5HcOzZgwGiE4xqeevwx2OCvtgN4ldx2ioLV3 blqeVsbgVGSlBIT2ShnHUp6k39qybvd/qLY8781M7kEcB8seJQ9PYDLFp+GrOfAyAaf/ 1b5otE2Xz2Bftl52WskwvZCJJ1xjmvcoAwiNL98C/xisD2UYt/eYu3tt7mBOsvXkNBUR /bTg== X-Gm-Message-State: AOAM531qzwPWGgRyQJZFUIlkuXjfmzhfqZn1w1nKOQVL3ocUkWYW7UV5 tJ8Fr/bJhpY+/mbiEqGvN5NqWQ== X-Received: by 2002:a1c:3803:: with SMTP id f3mr1574214wma.14.1604698649574; Fri, 06 Nov 2020 13:37:29 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:28 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH v2 23/23] mtd: devices: powernv_flash: Add function names to headers and fix 'dev' Date: Fri, 6 Nov 2020 21:36:55 +0000 Message-Id: <20201106213655.1838861-24-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_163730_730873_835C6947 X-CRM114-Status: GOOD ( 16.30 ) 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:341 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 Message has at least one valid DKIM or DK signature -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 X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>, Vignesh Raghavendra <vigneshr@ti.com>, Richard Weinberger <richard@nod.at>, Miquel Raynal <miquel.raynal@bootlin.com>, linux-kernel@vger.kernel.org, Paul Mackerras <paulus@samba.org>, Michael Ellerman <mpe@ellerman.id.au>, linux-mtd@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org |
Series |
[v2,01/23] mtd: mtdpart: Fix misdocumented function parameter 'mtd'
|
expand
|
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,
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 <miquel.raynal@bootlin.com> Cc: Richard Weinberger <richard@nod.at> Cc: Vignesh Raghavendra <vigneshr@ti.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: linux-mtd@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- 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/