From patchwork Mon Nov 2 11:53: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: 320280 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3662802ilc; Mon, 2 Nov 2020 03:56:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzepfB+N+Fcu5HK56IXv7zCArevIJrNUGBZYfQdQkfZdfdpiGFuoGBWUO1P+aZfbrPo/mMK X-Received: by 2002:a37:bdc5:: with SMTP id n188mr14119465qkf.95.1604318186879; Mon, 02 Nov 2020 03:56:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604318186; cv=none; d=google.com; s=arc-20160816; b=phX6f3LBeu8o0cRudx6DpmooOjx0RN7Ar/BX5w0EFmlPFGHJVjuS5gOk61x6Pi+Hh0 OYbS5zgNDo9BwJumCJby7fH1UeKdjYdwZA01gRKo2fmg5R6euncVZS1riHMvQ6XYhTzl rP4r4cphazIJIXi5Cws6HpE9OcZYA3s65hLvnNrctqVAUkCQ01P7uVO6bX2wsd6FdDi4 U9GoE+AYSPtkkfuDCKv3bJKUWc7ILIMbo+ny1D2sXz4Bwg3f4b8b27Z6356FNC2/JoEG 3XX1NRWykXQ1jvIdvWwIQSJ6468MZTrf/DtYByaS/owaUwOR1/f5nsIisV4NiYJeRI0F 8Nlw== 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=vveMBJUE3snyblUR1NYCbUVdmZvtmDZZNBSg0G7xgZRuGWkVC7dmoBxfXAfHKnvnQt JeaJ5blEvlSVibKM3BIRkdzh5TkNXW+1Zso4QIgjud+wm8i1yJliMrXXcujd+aGtSlW/ 8CvQjNo6uOwL1eryiDBG/jjK18lS4XMojQwU+uj54Zpt0i57hhw/Y5dPRFpXPmMFSkQA vfNyfjIyZTIYZWPRRBRaNazQ69uTjS+rAUXsZZ+8+pyaz9HVH37zuUjp69sOPsC652XH jta8xKjzMSUvyyeHeSMoiQjn9JXpEgIK4JYB5ZiFCwcrMNUvNwqJb2ayPd0DoQ9kAyLI Gxvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=Tv5I0fzz; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XL81MlRM; 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 el8si8277020qvb.153.2020.11.02.03.56.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:56:26 -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=Tv5I0fzz; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XL81MlRM; 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=Tv5I0fzzAkas43y+cCfomgkU/ URTJzn7No5OwS7CrStLonvHJ252v+8nF3okKbb/C8Ye4+AiC8sWYoOHQMzdW8r6mhbhCFfK+V5lhN wOM9R6s/ZDbbnM0oEcsr2YKVcyRV+NMbczW5XArMmuYUtLfJ5nwogRt3jPypI/I5qM3AaqCzYbBMD AlYsVDW/NaSCwW7eQOHQxGJL3zWIlxWKM13aojrFr3dcYTTtV8EsBXxn7X0CmpnMzJ6bOiKe05TuP sXEsVfer26mGduwFJ/+mexVHeuAWewTM6DksyAc/2iWbx8QtAh6dpe4RCfSodbYmkuImJxZ/6czIF euHStrPQg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYQ8-00023N-4D; Mon, 02 Nov 2020 11:54:44 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZYPk-0001sw-Pg for linux-mtd@lists.infradead.org; Mon, 02 Nov 2020 11:54:23 +0000 Received: by mail-wm1-x343.google.com with SMTP id 23so877694wmg.1 for ; Mon, 02 Nov 2020 03:54:20 -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=XL81MlRMs1unRPABpCgpJr+JaAeomz/oNcxN1ej0qS8kYI2ziweEwYNSlZgCYjZA7L 2Ar0q/Wp5pBteG945RKcHjC4IklW/xM5zP+1HX47n7maSnyNQzmmEI5ocHlXk/seQvA1 CMBDmqX3HralPUOQDPD0PNWxqCyNFlDccPSStC4/nKT60p5aaNcHFHCurSbhDuou7d+H wxlU2nz5d27NDB3sQQ3kRWoeLOLE+GXtBKkWuzV0QXnL4Y8RL+4GcTGbpYgTjMu7qCvD Pzs3ZzggoPXNyQFJ/Jgz3fzmHi8R6EDyKQGrf5fhJnH6qKK3zz6dnCwUsHhUBfNsq1n6 7UZA== 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=Tt5SNdjjnXsoDV8KJS+/W0x30XnWrBlsI7LtMnkq2Qr/NiaX6DCdSD0dmItZbBECIQ Z7AtPLIgT+hGPCxWVDIUKHu63l6pUOsnRHxO0a9GZn2TLLPqppCDER86HlZCJdbKNQfj /Ql0a/+1AJVA/YbJl7PpU7zbxygYA560e1aGi8KUS0m9dsGjhRgYXb8tDQ+6Exhk8YLd BrlML+Re9GYDMg6cFw0BZW6LyJ0AET2WjrK9ib1IdfpeRhPvsqvLvUH+VnmSaz1ZzI7f BfBR3qXEiShjvDr5h55Zvvs8KQX3EPPGWuiNhL90lRAVHsk13jKL1Kcypz+44UWoB9Jh Pd4w== X-Gm-Message-State: AOAM53026HiRRMKCNE6uETH7g4vtz8kVlC7fEFxgYfbKF3oNNHXTZzvq 7zaRHFyVMozQ5oqDdJlNr8AMfS92/eARKg== X-Received: by 2002:a1c:4d4:: with SMTP id 203mr7507931wme.153.1604318059932; Mon, 02 Nov 2020 03:54:19 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id t23sm14284010wmn.13.2020.11.02.03.54.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:54:19 -0800 (PST) From: Lee Jones To: vigneshr@ti.com Subject: [PATCH 05/23] mtd: mtdcore: Fix misspelled function parameter 'section' Date: Mon, 2 Nov 2020 11:53:48 +0000 Message-Id: <20201102115406.1074327-6-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_065421_270191_D546FA3E X-CRM114-Status: GOOD ( 16.89 ) 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:343 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 , linux-kernel@vger.kernel.org, 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/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/ 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