From patchwork Mon Nov 2 11:53: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: 320282 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3662970ilc; Mon, 2 Nov 2020 03:56:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4xxmSXkSL/ycxZJN7TAQ/HS9JgKXpoxy9BP7qv9ALpUYmnBN3PUhHMFWrqgzu6+mJsi0R X-Received: by 2002:a37:b782:: with SMTP id h124mr14793807qkf.169.1604318208824; Mon, 02 Nov 2020 03:56:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604318208; cv=none; d=google.com; s=arc-20160816; b=Rme8FnUCt8sArNoMTxtw0yRcrMlb5T4R747NzU4gS0Fuionz04Dru/f6rlmJR2w04F KYprCXTfmapv7ZZEZJSho1qd7vKZGpQAiNLzXxrcP92JEtq8XGgF+t71uzaDQnxuEeXD /4aKex5qVvjJSlMZKLoNR8aW4VuzqeL/sgSwixH8bDCgWVxQ75YiVpjvyFlI47uk9FBB gTi3MnCGNHaR9XLSa9yVDkbaRMgkM6dOzAh6mE/2UfE+aOKPgdVk9G1qure3xstiqMwv pKDSaN7qLaYoks7cUGP5FS8H15dp5ifE7NzHw8mCXCpNU7EjINC5z3l705oYc+7ldanR IDrw== 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=O1oVGhwtMFquop7qLLOgyeS0myuzdw1oZxi5s/hXlWqVA5m7Ltqtr8eXVzCA4Seh5e 6k2EVWZVglnTK46F4zmuh5cuPCd8goAfejRpPL15qUTW5F5efed42OXh36x2p1ze1IFl lZoHFU2LKEj1lzJcCgo8cK9GjEnQr4qhWZHHc8rs8xpHrfSRH1A9v+zg5jw6NgqEiWWN 9N36A+VavMbyjrFPTaMBJtFmFw/0T96Rcm7LZe71vJbzdmjDP2hOkYr5bEXYXpymgs01 h/juqmtPWgNx2zTCmgFZjrV/AaDgigz4OwIDvI2dlCy7syX8kFo7E3Qmp5HuO6/qsv21 ZTig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=pl5FWAVE; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UGwwhJqO; 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 v140si8677440qka.313.2020.11.02.03.56.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:56: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=pl5FWAVE; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UGwwhJqO; 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=pl5FWAVEt+buC98DmtNiesS62 xKoU1/pPBzjnpNZoCPJCCNIbmWPAALiM/H9a1xFcIcDFyFIbvzsi/mB73Gduu6cNg7YdI1vVOsGIM 8wj31r0F5SASKmW51PXU6h/9Bx8uAI+uLxRGbQYEsLJVtiAyAVmmsjEPynHQvFsZTWa7CFGrCkPbJ VBzboTNrX+GMGSeqkiTjvE/VuKvi/8fsqusS2C706yhOZ25CAOIlC8ZjZhBlurVzD5LnUabXjyFWq B3LJfu3IC3eGQcsvm8eAyjUtpEDh28eqNo0GciJdN8czHm7aCRBAZEu3pvJKAexes9QNppNiKEn7M TJhejsQKQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYRi-0002bk-S9; Mon, 02 Nov 2020 11:56:24 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYPr-0001xT-B9 for linux-mtd@lists.infradead.org; Mon, 02 Nov 2020 11:54:42 +0000 Received: by mail-wr1-x443.google.com with SMTP id n18so14243144wrs.5 for ; Mon, 02 Nov 2020 03:54:27 -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=UGwwhJqOoS3Rp/Ibr7m1kmtFcpqS/DaYg6/MLmYIqmIHmjm18yFoO74jKG+i2V9K34 pF9yjLX9yOJfMjmjH8lLEHNSwiAXsJsVyQLkKRiR+RV/VYnDMYRr6W8EKP39qT++Jzfp W2e5HuMxV96fNdA/uRR2Nxge8NqFjcke6ahjWYWGWYt9iY6fnMBppf25H2VuBm57fakY OaMOFoQxa8FyJERKQ4tMXIbXdmkS3gh3EG6rK6PoNJr2sJNN/Q0ArDqW2Wu6WjFXufkb E9X0oUn660fm6tbwBtDAfXHUJJdegDkvFYYIvSLWMpgYcHCfkGV8Hp5qVtjRwtSWJwsU Ll/Q== 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=lc4OPDmr1li7/U6BakSQKP6oJap06JneWQgNVvUABp4L89Dh+GTZ540WZW8wUwwKti +MvKlNrmoML/xXMi0CL/dRkHJNoq2n1Jjyu1305VJE0EqsrndNvaMvZnc9f2UqipZNVP ZbBcgBcNUV8m4SVHyc5zbF110n5JBrCwZDfc2BOIxNsy7g+Hx4XRwx6wcHmVFnsG8ziI GUkdtIgEy2XfG+kGIoa83g+PmCIiyckb1ytUJYp6UrmWCu5kWHy/o13lSjaYjd5NzkXS LbTeIqsLjfkwsFBkUqsNQEGAkUj2Zt0gMKzcWFT1lV0kjJo+/2q/Rx9OeYYzRQ0C53HM mEwg== X-Gm-Message-State: AOAM530Y3icHujcEh+Avk+JNLZnlCLlbQ5kd3D0xZLV1hCeYgD3mncxJ PgDGT9J8m2i1ELweFtbzzc7XEg== X-Received: by 2002:adf:ab02:: with SMTP id q2mr11068973wrc.320.1604318066256; Mon, 02 Nov 2020 03:54:26 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id t23sm14284010wmn.13.2020.11.02.03.54.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:54:25 -0800 (PST) From: Lee Jones To: vigneshr@ti.com Subject: [PATCH 10/23] mtd: ubi: kapi: Correct documentation for 'ubi_leb_read_sg's 'sgl' parameter Date: Mon, 2 Nov 2020 11:53:53 +0000 Message-Id: <20201102115406.1074327-11-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_065427_553737_B5221713 X-CRM114-Status: GOOD ( 15.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:443 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: Richard Weinberger , Lee Jones , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.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.