From patchwork Fri Nov 6 21:36:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320834 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1651395ilc; Fri, 6 Nov 2020 13:39:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKE0iHBjj6VnqGRvUv19bbHBa7vgnnkUxQckDOuCr5lnv7qycxHbTAcpZro3q1fH7s6RV6 X-Received: by 2002:a1c:5605:: with SMTP id k5mr1473484wmb.99.1604698797964; Fri, 06 Nov 2020 13:39:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698797; cv=none; d=google.com; s=arc-20160816; b=YwIjyNE3OQ5rnfb/ivZz3HMOr1NKtMAEGsPiVdDKXN+P3jrfcpmc462qvs/SBT5Bb/ lapmzeGs9lk1iHy1YFIeJazogaeJxjpQ0gUcqf1YIVd7+XhrgKILXJbO8bN8ez5n/ytY E3VNjdaDZX1TiYWW+nT70rCEoJCmp8wMjQka47k5jpi4RGlIKQPXUWLqLXLHEupTRy9U RfbJA59tpLeM9rQpqF4MQ5hpD/Ljdi5yuyt7T/6vbX2FTrkVJyDVKQu4ya11hmrN5qhN OvMwJ+ecVir+H5Jmk4pSMLuIvZC8e0veO+YbIvZCdksGw1byGq9kya5VcDfI0Eouut/g 4pBA== 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=WghfdeDhC4j8A9jqfoXtbDE88+u3P645dCUawF+NjuM=; b=zYNBf5GcZushJh8zhbDBx8B3MargL8IlxBmJTeEOnxdlUx4VX9Ui1UXdFFeiJfpUxq BejRMMEyBK9OwOUepMQUauFj1zbDA0C3weGVC8PVQMSgL3Zrp9XlNpaDUnsVC64bP+2x HXbrxf3RTqv8EB3mMLXYozKLvQWnRLvvZhdOXxUakCh7nh5G2dJh/4hZivLqD76jPoOb XXsHmES2JF3FmFDxxVQo/UM++1BDKJDuiGRspl66E/wZRiwSFZYRNc+jM1QT5w4M8hCV abnfeFVDuQzYHPjQHr85o11pcE9ZHGt3byjeph5zoq7tG+BRONK+dOUx4swyGfDOsWA7 BsfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=mQ4U8PPV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=nffO+72F; 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 c9si2143549wrw.257.2020.11.06.13.39.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:39:57 -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=mQ4U8PPV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=nffO+72F; 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=mQ4U8PPVN52u5IU5VV7EKpdNn LdZ2k5Tq/oobw1wKx7eHkcTFCUmZRYDWUp6fmiSBTDiBrnlFUZ/zUQMVBJ/OqxzUUUhynbNeIfpsQ R7RRN9SgSrmDnN8CTFYlG9eZd1OPBvXUmXSLJ7vUlHMBln6Zhs/9MEpXi6bw9TqH0K8gaOl8oObHS M+0k3uqnvpgny2Ukp+zNwMCZVtrPJmHusBvyY2koiL0mcpLQbXkTKm5NTAQWFqphr0NPyaoHS2hhF +nRRo/53ftSlc2Up1usJhSx0i5I5snn5uLj9L+I4MUH6egwtHJjXSwpAkLDdk/m6jwraLZHY2RBjm M7jigp1Pw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Rz-0003eP-8T; Fri, 06 Nov 2020 21:39:15 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Q9-0002et-JS for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:26 +0000 Received: by mail-wr1-x444.google.com with SMTP id c17so2754100wrc.11 for ; Fri, 06 Nov 2020 13:37:21 -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=nffO+72FegtWIuRQmVOjyQ3YSiqmz16iu6IDBvNnyWD51uId9oSzigR7mWrDp28h2q b1ci3TdGgL2M4lLtpOTLekGXKiYt+60aXo5YqXNe1XYYTOAqVyGyz8CVToiqiFTweNaX FsN52+nl19OXuJmO/u/zcARgVagxc8IQIZtN2jG6H79hpAPYvuHc077940+7qYcgvwOW NN/OIydgWJjGB8SKr5n8OvLQ/k4OInYT0d6kbBXMowEzwX3L3aNCr002eFVOXKvmKub9 AJ2hR/oU9E6TombBZ0VhBI8XbaTrDRJrKKLUJc9o96j7xfweHYxc1mgHGVcWJSYXf0+T rfbQ== 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=StYGoN6iC2xvfuvHbCdRWP0ZOGQZ9lSxhc2e/23JX1D21ksEAgvbgY/5I5XP14+UoX 8XCtqFEIhTe4recIBCPWfsoxuL6V3bGJp7tfUpXTGwa4tjBKrPCt1SDpExwh6Fq/A81o KR38dNHPxJOKH83H+t18euAf7cYpoFvqoOKatlv/DfBAXk63HIG/AWgOPyPJWmgask1i Z004KxbzqBkf5oihsy2WqrYrEBB2rojg+zqMfEEcBIPCsdnyyD1xbkCjh5f4n3QKUyYz fYxa2tDZ185GNz8wODvNr28d/85zTmMeDJN0Cm3UQrszCgfOvBvLZfDWY84JMXXz210f OKvw== X-Gm-Message-State: AOAM532lLX+nWeNtG3zZLGhw/66t8ZTefbUg3e5tzgs1MrNjD2AopA2+ fU2mD9rh25vK4EUHQgGwSggeHc9YcXiy4Z1a X-Received: by 2002:a5d:4104:: with SMTP id l4mr3250741wrp.276.1604698640687; Fri, 06 Nov 2020 13:37:20 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:20 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 16/23] mtd: nand: raw: cafe_nand: Remove superfluous param doc and add another Date: Fri, 6 Nov 2020 21:36:48 +0000 Message-Id: <20201106213655.1838861-17-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_163721_779986_B2432E6A X-CRM114-Status: GOOD ( 16.87 ) 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:444 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-kernel@vger.kernel.org, Boris Brezillon , linux-mtd@lists.infradead.org, Miquel Raynal , 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.