From patchwork Mon Nov 2 11:53:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320290 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3674812ilc; Mon, 2 Nov 2020 04:12:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJmxXqb2Qkw5oiHybDlTHReF63p10ELqnErVbSWE4q8AtOMjIcebFL0Iq1TJzyWQE5WqNX X-Received: by 2002:ac8:5550:: with SMTP id o16mr14001074qtr.224.1604319145620; Mon, 02 Nov 2020 04:12:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604319145; cv=none; d=google.com; s=arc-20160816; b=Ls1pPlPLeH1pwpEtRcz6DGFGNpOWehUThUI5ImKLCRrqgZCAn0LOJZyn7f2ECoentF q4gAODX/6X8Fw1n8JIl6KsKwHJ8Uf9C0MdNE+hi0IGhLIykmsiycN639HmUHaYHe6YaF fAl9FCcWoNqAwSSKO43hBQaKcWWDubYx3GvaoEojZ0CWkAUhGaPEh7h9dBmOabgZG0bZ uUHLDvkBTQDo4c/VYmeDowNoyn1HNPA5yIX+MBPdyy0B1R9d80ssZGGwILRRbckXKLBL b9S2OAETGoJYO/zV/7a5sNXRfQPnoamostXzTDwu19UsLcNgu3oNkw1cr5c+UIEcMHyY YT3w== 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=WghfdeDhC4j8A9jqfoXtbDE88+u3P645dCUawF+NjuM=; b=EsuSqF0hW0J94K8LOMxNLCHWTZoAKPmL65KkPbvW9P8j0zHYxXwCjwSE11epcJ7hyU rcUIE4OfvoGiQT1MrAvKlsuu7571RuhFfZztq/B46GfTA4OTMbuSn2Og9/m1QPl4huoc HtSI7gDxiiTifUuhcjP5Xi2nNLUe3WFEvyroSrr9cGkVMCyMVSJzobRwN5ngzGw3Ubxg SFzXmyJwgGVMi7hwaBLgGNWEAWv3/qDmgxjnpLBm1uJ1E2c6ixwY+74CmcQ4Sb2vbzZI qh9GR/c2vrFJmcvCr1t+trwbd+S/jqkNbBDgZhqAwcevBcopmSAYtENiUdw4RGrY89w5 sdgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=SDV2XISg; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=casper.20170209 header.b=jRWAWmmv; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dy+sfv06; 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 j6si8688695qkm.268.2020.11.02.04.12.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 04:12:25 -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=SDV2XISg; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=casper.20170209 header.b=jRWAWmmv; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dy+sfv06; 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=WghfdeDhC4j8A9jqfoXtbDE88+u3P645dCUawF+NjuM=; b=SDV2XISgQeKn8LppNA2WBADBS 4l1lRcZk3MGkGe+8U1rpec2ZiFmkeormzqsc8kRhZj161i29CwEkgN56nfQPEambpMzHEIcnE6c8x Vj7H3elxD9aZ1rxLjtO8LDBZyHVkdFnqTM7nNmhyYtCi+vgWil26YEW9yLsmjDVS/0aEtDEU1XmVX D57xpTRDuABqAWEhkyqTM5m38oA+TTJCocBRaT8xnWPSUWQJHF/L6YkUJG6bzv18A7N7IW6/+zA/4 FrisBvJsp2t1CWj+W4NDW87dv4FZUHB12ct7aeaoGFL4uI6GHT87UN4FprZYEzIeH2E38pCU5uS31 KP7ScENjQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYh1-00040U-8r; Mon, 02 Nov 2020 12:12:11 +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 1kZYgr-0003p2-J8 for linux-mtd@merlin.infradead.org; Mon, 02 Nov 2020 12:12:01 +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=BETgmjiznwAwz+PFWQvItK4BeS3oYpLH+kOS2zV1poE=; b=jRWAWmmv5Udz4hnx+nrv9d7d8I WSA/OL5YhwhuKeqifUT+AnIF4yaQrmsGvli64XTdxItdtneURO3/TBPCrAD66MTW43Nkh8sX9X1m7 /BeTQUDzV6H955ZV8EWCrRVFLnzdjaTNcps00QdL+yslUofp2144Lr1dWyYoxJd251xxTX7qPnW04 yIE153jrj+5Ln6pLoM0BLaFaKWyesf0sb1vMi3Q84TpqJFt+2DUnKsptKhAkxreUfQvgLYoqxqocF kRUOY1u8mhADyyEdWLuR9LmhRx2ImtCMkxD5Cn1jN2aICqK4EVHjhRnopgmF71o6hQvbAYIK0ie1Y eCmdFjeQ==; Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYQ0-0004tN-PB for linux-mtd@lists.infradead.org; Mon, 02 Nov 2020 11:54:41 +0000 Received: by mail-wm1-x343.google.com with SMTP id c16so9218304wmd.2 for ; Mon, 02 Nov 2020 03:54:34 -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=BETgmjiznwAwz+PFWQvItK4BeS3oYpLH+kOS2zV1poE=; b=dy+sfv06lRH6J0sMDT27XkTFTjVijNlzrQA7FASt1DkRNJh1vprWQntQ1V2bSsYJ3d 13LNHrfF9wL6Ix+/Z8puRbiEcb61k0dc1DgXVVDPIKuzuhrOxQCNWe/4ayDZzaXZ/rvM R/8M19ji90My3vTue9toWMlpuHJ39hSGhjEmRcv8nL9DUG7tjHUFi9bhUld61HKRTCwb 5i/3Lr1lr1usXG5t4MmXJ6c20yPAsN6ynGiCqvTbZQb/lCRlHhsUKwNE5+w8TM0VuFcs 81Pf2HuOoi8mNGABlT0v/dDU6uyD6ScMM6ys3OBzZSosdm/ZV6fA9FsZzlqql9m9NqHg unng== 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=BETgmjiznwAwz+PFWQvItK4BeS3oYpLH+kOS2zV1poE=; b=YLSIPnsyetoKD97cXDkzhITdAtZsVV4dU8cYem1kQyqmvZtoGTAqL5YfR3ge1UZ+gG YriF93e8ZO7DD93iG23PdbrZQXgcwnGJSJ41n2+MHHNOh98L5drGrmTilc/vDaapgp2D /zRsE9+az6AHGdZxSfiJunLZW6JeZlQkyCy6urE/98HCtvNHZ4AGRakxfsSMjBShOuzt dnQNjx/DuP7uLPXuZOGl6k9sJ0RHdRl4HKavqMVDffB7M9N4Hxgiu5Onaa4wcFmdAGJY XAY68DGDCVR8lKIhwC4ilaPyJ5mnv6GdbHz/OBKw6T5VTt/8dCriH3NmH96SsPUXnZWx nCAw== X-Gm-Message-State: AOAM530jkRMx7jR8DHSMDchx35eSJujfiUdSFcXKepRBkagI0p0EYIDf u5k653taC+VIdHgIKJuLEpHdv8qOq8acRw== X-Received: by 2002:a1c:9695:: with SMTP id y143mr16382548wmd.146.1604318073681; Mon, 02 Nov 2020 03:54:33 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id t23sm14284010wmn.13.2020.11.02.03.54.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:54:33 -0800 (PST) From: Lee Jones To: vigneshr@ti.com Subject: [PATCH 16/23] mtd: nand: raw: cafe_nand: Remove superfluous param doc and add another Date: Mon, 2 Nov 2020 11:53:59 +0000 Message-Id: <20201102115406.1074327-17-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_115437_660548_5D7307A1 X-CRM114-Status: GOOD ( 15.66 ) 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 ---- ---------------------- -------------------------------------------------- -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] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 , linux-kernel@vger.kernel.org, Boris Brezillon , linux-mtd@lists.infradead.org, Miquel Raynal , Lee Jones , David Woodhouse 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/nand/raw/cafe_nand.c:372: warning: Function parameter or member 'page' not described in 'cafe_nand_read_page' drivers/mtd/nand/raw/cafe_nand.c:372: warning: Excess function parameter 'mtd' description in 'cafe_nand_read_page' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Boris Brezillon Cc: David Woodhouse Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/nand/raw/cafe_nand.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/nand/raw/cafe_nand.c b/drivers/mtd/nand/raw/cafe_nand.c index 2b94f385a1a88..d0e8ffd55c224 100644 --- a/drivers/mtd/nand/raw/cafe_nand.c +++ b/drivers/mtd/nand/raw/cafe_nand.c @@ -359,10 +359,10 @@ static int cafe_nand_read_oob(struct nand_chip *chip, int page) } /** * cafe_nand_read_page_syndrome - [REPLACEABLE] hardware ecc syndrome based page read - * @mtd: mtd info structure * @chip: nand chip info structure * @buf: buffer to store read data * @oob_required: caller expects OOB data read to chip->oob_poi + * @page: page number to read * * The hw generator calculates the error syndrome automatically. Therefore * we need a special oob layout and handling.