From patchwork Mon Nov 2 11:53:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320294 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3675785ilc; Mon, 2 Nov 2020 04:13:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJyipgjj7EZp24ZviQcT9KY7QIwzPUo3XCi1+6z5LyYlfDodjJebvD8IMOdyQ0vFmx0BKk+a X-Received: by 2002:a05:6214:18e8:: with SMTP id ep8mr6809726qvb.61.1604319226837; Mon, 02 Nov 2020 04:13:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604319226; cv=none; d=google.com; s=arc-20160816; b=BYoa0LJvqiqck/8dPZWy35Zd/ROBFMrTnjWj1KPD81dhvZCP7YSUayLokNoGYwhGaS 3I5l9ald9hSsrdULmhFRqtq7fkDqIx8zaeSCbMfi7TPo5EUTGXmglu5vlfQG+RSeB+s+ YtTWCXOsIcGJg+K4FRqBJ11O5l8sb24wtzSGrgk17Mt+ki06yl9Q9/zbiQX6h0zpZsLt SImaF7fOG7INjq/byYRJ6mgBN3EcfAKk3emYtTUHxeDyNIsAsvsSrp/wni3al0JPAKUq u+5EeOarSwAkw0g44Q6uQ2mBYuHoXkdLu0p3Pr65uDklhUAPcSQfdwVjpkdTdc4D9wYr +oDA== 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:dkim-signature; bh=RlXXchyRQEZZcaZqSiooFaDc8K98hvNj5TPVnE7Pr3g=; b=fFmbYIKjQqKJNRjHJUNa1jbAlp6NQz3euH4so4e4dXS0TeSdmV7oB3T6RlGuI5ABLk wHTLDZ7Ki6Mvn74wYYYHFIS/oVzTRs1GjmA4SjiJL1cYWxK6gol3C+KjZVDPV0qruP/3 4sqaTK+MW8POLrY4/oXI3ncfxxXhXRdV1stg+NIkW3OqDk8OHCIqsJgectOli4W9KrDX A+tA22/+ngKBrGbqYsxuT7yWAJ2K6CtBmcEvBgj78wDiLdABaJUellZgOnpdsuPda/sa 7PxoY2KKcmhjSaZvSHBj4t3w2IAXNeurm/jmSCV09IBheNbYbDMmwAztFHQNHuWKWLSX d/pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b="CEKH/IV6"; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=casper.20170209 header.b=osHcwZSv; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=aNe1UOeI; 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 e15si9061682qvf.212.2020.11.02.04.13.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 04:13:46 -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="CEKH/IV6"; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=casper.20170209 header.b=osHcwZSv; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=aNe1UOeI; 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=RlXXchyRQEZZcaZqSiooFaDc8K98hvNj5TPVnE7Pr3g=; b=CEKH/IV64hQfbC4Pa3AN18AUe 9WGOUTCpZWLRNsVJmDO3JhNe1yok8YQ/AYCRPdrVAlkzxjHz92XuAAckZZ00oWiwff57FQisfhLnq R3MVAPbd9KTLUw0bjijbn51Jio+gLrEXiQg/wkkybadS+voisZ/x6Na/NRF965Qv4bBJo0zW4khOF jrFGx607bhLq/YloKTsQ1PNU2JkmmBgAia6igGQpAcP/mPzYelw4Lk1a9/e+iASbPYwhdv8iC49XZ rip6GfjzZmlbn+blM6ZvCOOKdrPSmXsIZUrMJd75+IxXJ12E3B+BXEes5+qMFQJCq0eUK8gdw7Ylc nBtZbxcAw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYhN-00049B-Fm; Mon, 02 Nov 2020 12:12:33 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYgv-0003p2-Jo for linux-mtd@merlin.infradead.org; Mon, 02 Nov 2020 12:12:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=nWKR6uPZUpsHw9fLiQN+tCUhIOQtuUG869jNO4i86ZY=; b=osHcwZSvg8yRLGXW/8UfelNlr1 o0vo4u5GchCJ2LYrz0hpHf6Q0koLv7VRWIragcS0C4YiYkaqYBq65cXZXcrrHHRGBca/1V51JzEsC K6UJJDxMxRajKAMuRoK6GUoj8N9rmV7USWn+phx8QfVXWirFj7gV6LYGlh7Z9xmrvyyLT2IwFCH5C yoZCFuPpdR8LUA+NynnvtHqMDtIkDbGlvMo7alHS+5q7QP+EUSpKdKR8gaaQBGgB2ZnzAE28vzfXd qMCl2C5oSy5Ump+xQnRnLFXpkan8In3eUMUJ8blm9mI/cuP9FS1L5XAi4qvqLphOCaW3M928YQBJW qL3mmozg==; Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYPu-0004rR-QI for linux-mtd@lists.infradead.org; Mon, 02 Nov 2020 11:54:36 +0000 Received: by mail-wr1-x441.google.com with SMTP id x7so14269315wrl.3 for ; Mon, 02 Nov 2020 03:54:28 -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=nWKR6uPZUpsHw9fLiQN+tCUhIOQtuUG869jNO4i86ZY=; b=aNe1UOeICRZDUj51juIkYs9Lwny2RtCmIIYHfF7raPNXvUp+MR9f7l1orsbrnuxaBn dFgMO6Uhc31U97A4YcGg71hc16dSHtix2szsIu89S7KBiTHxbVGfwYZU9Ko6YZpfSFCJ p7CvZnBrY2uG+sttDlSxDClusnDUONxk97e/DOyn7SZnyks47+/lM5MDpnZKE3GxWQ0V Kud4XlPlwvuIrit0mxlFUmdtsg0i6TgJyECZ+C80K4aODQlYd8thsKFe9EnFstB3dY8z iKZY6uZHL2i5NmVfxneEW/j5oW9Oh2P31BgXBk0w/ily0GnbYDhw9NWIUgCg+y2EYBA4 NamQ== 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=nWKR6uPZUpsHw9fLiQN+tCUhIOQtuUG869jNO4i86ZY=; b=RP6wNbXuchEtZbEPHmMezdcPJKE/CjE5DCtrxR8yLegDL8TcLBWjbP7cL/qaCF7yMC 4DT9gt7wUbTTMVCn5YIruryLt5lzFbVhD5BOkpOmqB2/JTgp2XoIEFnHOeQ8uDE9cq+9 dyPo7zxExlFNVYjl38tfay34GyzTH5/BJi531amkv9tfIbF8XevEYU3eAsiU4fo/p0mA fD9Y1ISC6Oc2OA0qu9OBV3VtPWITiE3zSJoWpgw2+60szf8Jvcfaig8cET08MbznWu8R kn3y7W1QNOraSwcH/cL9F8PPu2VyZG7JGOJQna8nxikg9HCUmI3DUIVZSlIuGEdlrvE9 GwRg== X-Gm-Message-State: AOAM530+8YqYnHJISgYSYfGORvQrDuFVx4o4DeqwCYULtSLlp4vvDfVb nd2WhwjsYsGf/jY6ID4LjX0F6Q== X-Received: by 2002:adf:ec47:: with SMTP id w7mr19909593wrn.253.1604318067409; Mon, 02 Nov 2020 03:54:27 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id t23sm14284010wmn.13.2020.11.02.03.54.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:54:26 -0800 (PST) From: Lee Jones To: vigneshr@ti.com Subject: [PATCH 11/23] mtd: ubi: eba: Fix a couple of misdocumentation issues Date: Mon, 2 Nov 2020 11:53:54 +0000 Message-Id: <20201102115406.1074327-12-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_115432_051631_D2C72467 X-CRM114-Status: GOOD ( 14.88 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -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_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches 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: 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/eba.c:1304: warning: Function parameter or member 'vidb' not described in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1304: warning: Excess function parameter 'vid_hdr' description in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1483: warning: Function parameter or member 'ai' not described in 'print_rsvd_warning' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/ubi/eba.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index 0edecfdbd01f3..892494c8cb7c7 100644 --- a/drivers/mtd/ubi/eba.c +++ b/drivers/mtd/ubi/eba.c @@ -1290,7 +1290,7 @@ static int is_error_sane(int err) * @ubi: UBI device description object * @from: physical eraseblock number from where to copy * @to: physical eraseblock number where to copy - * @vid_hdr: VID header of the @from physical eraseblock + * @vidb: data structure from where the VID header is derived * * This function copies logical eraseblock from physical eraseblock @from to * physical eraseblock @to. The @vid_hdr buffer may be changed by this @@ -1463,6 +1463,7 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, /** * print_rsvd_warning - warn about not having enough reserved PEBs. * @ubi: UBI device description object + * @ai: UBI attach info object * * This is a helper function for 'ubi_eba_init()' which is called when UBI * cannot reserve enough PEBs for bad block handling. This function makes a