From patchwork Fri Nov 6 21:36:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320825 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650332ilc; Fri, 6 Nov 2020 13:38:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQN6Ht4huAI63MhBKxTLUf6mMBHcG7sOevZi8uwXql3/AIYwI8C89vQQpxAbtCIgXC/5Iu X-Received: by 2002:a1c:1f05:: with SMTP id f5mr1551018wmf.98.1604698686530; Fri, 06 Nov 2020 13:38:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698686; cv=none; d=google.com; s=arc-20160816; b=X7JnCYjDlQPZJGxgd175v3UaEhVmVR6/d3W7HhgkEGwZ2t5QqzOpgQPVBbzLPtr2++ fyu0il8HHcH8i0KtNIJMnjQaPWk0ZkAGnxabP194Q2m78lSC85rZ3A9b8P27UpOwutzp zvI03lxTp3J+XIdOtrr+L5Jwtcx6m8fAJPNQyoXF4HGc6wn3gwY7MvXMSmfBGKnnbyDr 5QsVspPfxSrQj1iTWGbUpVH78HVOZ/cHdkCQMFGkhT8PE+08c/ul8WZwm6JahxegS+Ib MXYl3cmwgiv30CsWw2He5Tx4pbidyfa3eu7tP355qF6PKBGAqMAZiOespeu1zh/4RpcW mjeQ== 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=7exq9FZcK91QKadC7LkoAj/07LRwSH4wl7Rr5Ki/KgE=; b=oxvhMSzze5cWtu7peV6JlY31SgV6WcxPlOFPtbzkrR8KAY0ThtF1maAnRcHgYuKG1I pZxis6j+sg4btq6VuUn/sOGwwR2s5je1ZkoyKQt1tgJPa7rY5RmhI23XJOYUngonztmN XJ3t2bmoOl7DBYvknsXXqkJ1Nutcg59XHPGbzI7SkJgZUF0PhjFbxb5rRsehwfUXSoAx dXfmiueheKi7+crL42hAY8pCO3sdfENnJXlc8OxYkV4WkCa+TawUjdEP/RiSXpM5xWfl j6L8nYlcoOIhd0RP4cWnvoiKr0FxcZGkFLDUJ9Yg8WsWsJSVGMaBfKPNivkE8TIpOtJ4 LF4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=xwDL1lSK; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="aNVC/iF5"; 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 z1si2293379wrn.420.2020.11.06.13.38.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:38:06 -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=xwDL1lSK; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="aNVC/iF5"; 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=7exq9FZcK91QKadC7LkoAj/07LRwSH4wl7Rr5Ki/KgE=; b=xwDL1lSKRerVD07/FHAs6rpbs ZI3AVe3NaYZmP8EhDzuVbxyS4oNiU4iP21wogEhy/6Rxc4sArIxLsXXScg0Qd6n8iWmmAI8EsNmD8 Y0l5F6oEWYbJRy7ndGL8oF+BRtASVLV8f8j2X2dpFyw3BCE6lxU1Ym9hwNNTemmMJj6YRbP63CLQZ FATaXR1T5KhmBb/skcZ1tVQCZA6sc/O5BYIq+rpJyH5KREQ0xGwCiMaBEgoCf3tjQiB3SC5lnb2cM hngc2s7Sz1UuBpiZFcs3ZzIlmP/LFfPepZiFlR/4Gv4vzkK/uH97GS1mOKDWfT/YlPKmpHx5cLFiq 0oRhpv6Cg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Qf-0002s2-HK; Fri, 06 Nov 2020 21:37:53 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q2-0002b7-C8 for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:20 +0000 Received: by mail-wr1-x441.google.com with SMTP id d12so1243140wrr.13 for ; Fri, 06 Nov 2020 13:37:14 -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=DaSgExpL1nCtBP1Xc6kSLtHGXCrLErSmtz6Y4QPAfFg=; b=aNVC/iF54xkzO7atep0e+rHrJs5H8vdttLCxQgziSDzLUa32WiOQ8huCGi8lAShbNF 1Yaw85GeA4HE3QUJerIxjFqiTZ/wNriR/RNO0dDgOnn7EL+k2V709I6RbVXVdTtqMN6Z HSo1v992TIEiQanj21vvgS7yw0LleNcyKWUy2ohMzI9Y6v7sQ2n7pH1ER96gq83QlE5q 6gqd8A0tamr6kPYlM5QTjQVxtP5sIkbNTcqutvabpV87c0eefSkyHSAGkqhPVW8J+1tJ 0SLAgkYeAhj7OxE84gc/yYK4e+VN3KR39yx2SETPxrxjOlBr4nVDJyVh9oFHQM99N1WK l8Iw== 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=DaSgExpL1nCtBP1Xc6kSLtHGXCrLErSmtz6Y4QPAfFg=; b=X2CRvHrn0EU8VD6CUptA3Et7PJQB9ZQZX6F4Xuq4JDuT+siOMSLBoGucD8DuNZYb5C 4S/ZK8INgESJ1MzzpbUy8PSH2G6sOJURBXvU/TvwcbZkdE+mhv53837+bCxAIm02pYzX R3uOgbpSpMMTvnSnYPwA7WWwagZIVprji6WPOCdOMmfCUT2RIYBW+guvahbl/udRa6m4 jvoKSUeRbnikjEV/BiXm5Mj+Ow/fUnmxII7Gv+TDyvVNzCWWOmbCQczMe+IfJkFoBydT bqLt85zMglzP/7x8e5mA5mI6CWQ3nJKnV3/2w+cmjjBMPk/hABAabQNUhsaFl8S3F41Q /TXg== X-Gm-Message-State: AOAM530ixfcUf7Pij4+EPpKZxK7lqsTGTfYYjHGArWkcx2ufi7+yWqjN 415aSK9jonXseZJ8w3+y7787rwMDSkhIqfnQ X-Received: by 2002:adf:ce8a:: with SMTP id r10mr4999613wrn.188.1604698633540; Fri, 06 Nov 2020 13:37:13 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:12 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 10/23] mtd: ubi: kapi: Correct documentation for 'ubi_leb_read_sg's 'sgl' parameter Date: Fri, 6 Nov 2020 21:36:42 +0000 Message-Id: <20201106213655.1838861-11-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_163714_522133_A410EE3C X-CRM114-Status: GOOD ( 15.07 ) 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:441 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Miquel Raynal 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/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/ubi/kapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c index 9718f5aaaf694..0fce99ff29b58 100644 --- a/drivers/mtd/ubi/kapi.c +++ b/drivers/mtd/ubi/kapi.c @@ -450,7 +450,7 @@ EXPORT_SYMBOL_GPL(ubi_leb_read); * ubi_leb_read_sg - read data into a scatter gather list. * @desc: volume descriptor * @lnum: logical eraseblock number to read from - * @buf: buffer where to store the read data + * @sgl: UBI scatter gather list to store the read data * @offset: offset within the logical eraseblock to read from * @len: how many bytes to read * @check: whether UBI has to check the read data's CRC or not.