From patchwork Mon Nov 9 18:21:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320960 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1957123ilc; Mon, 9 Nov 2020 10:24:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNQi2Jqvu347xJHyGkoTvHa+0yTebBRW3ZXvaHYi8HhdgK6bVNZWHAddwb66IlG2EhMS0P X-Received: by 2002:a1c:b041:: with SMTP id z62mr452632wme.183.1604946276043; Mon, 09 Nov 2020 10:24:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946276; cv=none; d=google.com; s=arc-20160816; b=gA9kUxGmMHEkOtY/JaPC/c9OuTKxRdtAyP2221iR1FC4tdZHfpNOCtVLKafn3s/P95 tAaBbzQtzsiCuxHaHvWON2aq8XdNgDQzdLcvLOd3cNF9HYASSULxz0jqUr+I+qtH7oH4 G/gsQCm/38TGn4DD4FTCFAMZX5UmENPKMQnK9ldEQ6g2ceN28edEY4y6VP73Ors4X3Pg ZQByT+bcuwBwtHo9Jvkkz9MbrdeJ2Q2sXeKvkgBszk8kKjLq69ay7nTmNz1/1jSepFz2 LIgFZfGclWrLk66hRslCbWmSyTJAtybCufuz5OdPLEJvYBDJZQHB+3w52U2kr3NNvrs+ 8Q3w== 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=DuOtW0ogBpcI9L4gaQMq6mOHpm0MJ22+qTGE8P69X8xdkWvph0KWAKf9yEeIamwMOK rDh1OYxrMWS6/Rp24LgWo3jSoxe3PMGdyS3b4R/fhygZavNXkdA9lAJnG74XAT1XrivL EJ9K0Wf3RK6OkKu7BApXAbSibTx9POBpMWD5Iy6xF6DEwEEZFqrPKRaw5kC+Xv9f9erd /YzNrR77JkV7IssKk/SW+kSZjwixNI9Y9/nVt0t9fN+udzBCnBDL4cV6C0bVJ6FMl0do Oq/75xQ+J4p5XnfKwpJhnFKOCZxOvziDVr8RhebopfWNBigIqkyjiyZ+2fT9IEUAfzSN JdMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=aWUgWmIc; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="ToJRou/G"; 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 n8si238352wmi.29.2020.11.09.10.24.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:24:36 -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=aWUgWmIc; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="ToJRou/G"; 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=aWUgWmIcM/74eGPkVqAZZHQFN n5gZ+0aHVfLpR88zMPrKLLFbEkzM+KBq7THrTv9EkBHBN+4HOHyqEMqOsvX4HGTq1RZYwN2MTKcii ej5EbS2h3nUndlsV5s5reIUFc0fjh2ubQvDiV/MnpUd45bNfdVyvLSrfWntIdkS9VIlHIOE0pVx8Y S76Yj+fOdKeK6P+yderEoRslSll4Q/jaeTMwDw0CVk3NfHGBczFnGnpg07pb9Yc2DA6tmU9buog9G EfVNXN2duoLGDV8+YVZV+KGccclhzA6ZqRC175tUyYo0IBMFboCV5PGtDbkOl7daCNHIbdJylVeqD Kgj79D7rw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBq1-0001fs-TE; Mon, 09 Nov 2020 18:24:21 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBoJ-0000sx-Dw for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:41 +0000 Received: by mail-wm1-x343.google.com with SMTP id v5so404365wmh.1 for ; Mon, 09 Nov 2020 10:22:35 -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=ToJRou/GY83l76OBzOA3w6EcozYKqJ27Q2TR7tt6LGIQ6blHcsNnvL9ilkDPN1mDhk WR1lD8Ai2jcj2p5Zvq8/hoCtpifwJ0crOUSBwh27ZDta9uWV5Hi0d4gd5adiZ/EYvU0A lgogovwxBFq+GVsnNpmooRxslu9IMrsVrBx6Bd4YkcTz2WgfvPXRORsaCAb+nTrvOTEE EkDX3ucAfnIDqt12fWwV6RSbF9WiAichHRikKcLs97F/dujnuJEqNTWyoTgb4IMJ/5le CjQRMDSSQVbSliV3EUvkdbw+1pM6wy4jkGWSgDACPpJ5nmMDWZvLwW3fA+KVMbvI6zCL 2z1A== 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=n6atK8IDJuZBpghdh8/USEQV7TtA0GAF5u0QwspjNU/GkitG7V2XFJV/TgBT+MzF/0 iXx1da8sS+Ifhqpsg4moEboQmLC8Qa1v0wKAIyfNzur0eCSQeulbs7iU/yrsxpltykxk c3hb8n0ggtc7z5nPo22mrQaEZuUA1UeInIF1pqiHD8rJFztdjnKXbrwGEvnm/ads1S6j t/GRX/zPTg4ZN/FiJ/m+0/HQxQKYxcduU1dY5Frkn4mHgE/y2o5Yu9IOas9b41sUu43f oCyLP1sM9vU8kKlviwLY3rQX8c+OmP3fx8qY3Mbd+B+y458dzNNONBU1B2XH3pJ0YSfC yvQQ== X-Gm-Message-State: AOAM531ugcBY+izjMN/vFdB0V5uNd9pGlZ0JZntRIyQcAtpQfU/iEDfD nZ4D8cbgougrdh119fYdBKWDpw== X-Received: by 2002:a1c:a445:: with SMTP id n66mr465425wme.51.1604946154476; Mon, 09 Nov 2020 10:22:34 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:33 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 10/23] mtd: ubi: kapi: Correct documentation for 'ubi_leb_read_sg's 'sgl' parameter Date: Mon, 9 Nov 2020 18:21:53 +0000 Message-Id: <20201109182206.3037326-11-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_132235_539139_2CAFC067 X-CRM114-Status: GOOD ( 15.38 ) 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:343 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: 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.