From patchwork Fri Nov 6 21:36:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320821 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1650122ilc; Fri, 6 Nov 2020 13:37:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7GGCLTuXUQM+tME4ML5j0MYuxkJN5+ihFCXa3xPxzVnUqKX5CjAmHl+a7YcP6oHP3JDvQ X-Received: by 2002:adf:dd46:: with SMTP id u6mr4678142wrm.295.1604698664351; Fri, 06 Nov 2020 13:37:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698664; cv=none; d=google.com; s=arc-20160816; b=s2wxxR5jFSRQHg59qxj1zsRDLrszhxJPuGdpICCfPg/EQ4Wm2+ba6dA5Uqo+YCN86t sjADhoUzYBBHbP0SHINiM7L1Cftlczxtk9Ct4yMceVui4ayxBEaUsKhsE2dfxSdTypy2 zH7GlEhEa0NouQQXzy2x7R8x8uvL/gxZcX+GZWP+NA+MilJ04QZYesvlJKxvN6JyyH5T SiggeP2996kS1UhqB9zkBXzyNEDcgFo82bBRnRIagFKG92NSLw9bzKjhpJbruqRS541J oE8VxRiP/IKjQRLcVLNgO2OeGbJ5Rjsf5kvvt0Iz7SOXEu7glDwZueqdGbIJT8Cqjo5r ZguA== 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=Eb3elnW6iaLY9ApQu0LMmBiqk61z3H4klUU391tAUK8=; b=Zza92b4ZcOaYKrUobTYWLh0bpdL2pM+4EIPOtV7Gg0a2I1kOoPPJeGbx9+4f5v9/9Z z5IZ0DXZ1IIr5goBbO880bnAaFf3zMnBqLxj2vQwtNjwY51cimEvHO6EilFlj8DM6GUI XYBHv1tnV6Z/ABPrirZm3RNPzYdbzKXSGsG6ODUPnuBdEVerWvDBEPfPljwJbQ02Fsl+ kVrSTzDYe6EoTn8aK4KGLMCGayX0RWv2JoPqGpftaNDNElMwcPxk/NeCn6YN/BC+WhuV qTZGZU8LAOxk+wPwDgWLURPnWB/7Vt9KkwK/sgBC8lPirSDbuElS/poW9L9rBLRA6MyG mI5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=ZKODL4EY; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Xft/B9fu"; 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 c4si2266174wmb.6.2020.11.06.13.37.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:44 -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=ZKODL4EY; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Xft/B9fu"; 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=Eb3elnW6iaLY9ApQu0LMmBiqk61z3H4klUU391tAUK8=; b=ZKODL4EYAfngmNas5v7/DNwGs hBz2pydY3LWW9l36I4GuHKrOVdUL1mmLeTAAAULJijnl2oVy+ZFEDbwk6N3TUqXfS3YF1lzqMQ1C5 N1FFu6qU0CJGySr8tIPw9h9dQjM3Hkj2uMpB0+hFawiVCK+Vcuhh2dbt+QjfgnCODsXJ57u3vQpj2 nIIgWNLFy4XsoEvNcvZs4rAzDi2l+jD9DMKWh+R3z5n2ip3xheVuQFhhPjYSkATcjxDt92b1orWjV mTz3zqtNDa68AVKHRTMJf5dtEcJ5G6kmt6wbJ7jlGZXExDWM2ow0vdJns1lkFzm5hYL/ePseK4tlq c3lqzoafw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9QJ-0002ih-Hm; Fri, 06 Nov 2020 21:37:31 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kb9Pv-0002Xf-8l for linux-mtd@lists.infradead.org; Fri, 06 Nov 2020 21:37:12 +0000 Received: by mail-wm1-x344.google.com with SMTP id k18so2620747wmj.5 for ; Fri, 06 Nov 2020 13:37:07 -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=dAVB42jTKgsR2DuIhHd9CknEAkwHuiO/0Jzqc0AJHek=; b=Xft/B9fu4Im1k0dKVSkx2E+3tIW45CfD9m5SnndRedpuZNtDA9jwuOMSmDMyXAUDA2 8DqgZypZm1qWREX42zMnN5d8EcV9h29ypuD9mQz/9tRWZOMPQ58wDF1GDAbVdyute8vq iUV1qeg6LZmU0YzUnF26w0NT4/1GdDv5Vfmuh6kST+e7nbuA5bR0swIoxFEWAuY4Nsmn EZUfjc678ToDf0LrZvRb+139/Nfe8YJrBEP1xfSBHQzLrfdjT0v8vl09I/2VTSGC1Xfm RcMt+Cic07a2x4IqgNKiUKEunFOKCW8X45dUQn/FoxWtB4J5XTTn8saME6H5WLpGlPSp cQzg== 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=dAVB42jTKgsR2DuIhHd9CknEAkwHuiO/0Jzqc0AJHek=; b=R6q9M16BRWjYK1ck8ynFBShRa8/TPtrfg6SUyKzvZ8txaYgGDHAiajuOdmxlmGG7p/ WCRwG/5xQVqRldumldNwjplo4pHv+Be8e78vWh59zCAzgvrobA0dr8WphOEndpwbvhUw vephWahz7ZR/Ttz4Hk7elt5tpDv8KK2SZRopcekvPWcMm8Q5Fgp7blswMtXYBuR+rOjK eHSMSEGdG9SRPyEIKu2GfXsDCTTEIg9iqSsNCmMjE1ptF7vK9eICrytXKLT4OZ8f3yqc hy/77dC7yUuAIgYvK/Qw1rOa7kU8aBSUBkx+KMG4V4mjeIdagZHDBEQW6kXksnFpsesu Fjig== X-Gm-Message-State: AOAM531MPMshyh0tiEqNw6Wk3qbmlxRlnLXKYQBQ5Mv5rGn4nnSG5sGG 1Ir5b2Y09hB/x0/0mdwvFy+CqA== X-Received: by 2002:a1c:8194:: with SMTP id c142mr1564965wmd.94.1604698626446; Fri, 06 Nov 2020 13:37:06 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 05/23] mtd: mtdcore: Fix misspelled function parameter 'section' Date: Fri, 6 Nov 2020 21:36:37 +0000 Message-Id: <20201106213655.1838861-6-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_163707_400268_BD8F41F3 X-CRM114-Status: GOOD ( 16.78 ) 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:344 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, 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/mtdcore.c:1592: warning: Function parameter or member 'section' not described in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdcore.c:1592: warning: Excess function parameter 'sectionp' description in 'mtd_ooblayout_find_eccregion' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: David Woodhouse Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/mtdcore.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/ Reviewed-by: Alexander Dahl diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index e9e163ae9d863..31d1be4b22617 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -1578,7 +1578,7 @@ static int mtd_ooblayout_find_region(struct mtd_info *mtd, int byte, * ECC byte * @mtd: mtd info structure * @eccbyte: the byte we are searching for - * @sectionp: pointer where the section id will be stored + * @section: pointer where the section id will be stored * @oobregion: OOB region information * * Works like mtd_ooblayout_find_region() except it searches for a specific ECC