From patchwork Mon Nov 9 18:21: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: 320955 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1956299ilc; Mon, 9 Nov 2020 10:23:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5vpOSEv/dNeuW1vVdankz9YOBYKfAsWgLAHZbP1qRLsQ1neowv1iv+xiM0H1Mh5zuHQdS X-Received: by 2002:a37:6c06:: with SMTP id h6mr15227157qkc.288.1604946201681; Mon, 09 Nov 2020 10:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946201; cv=none; d=google.com; s=arc-20160816; b=Yn2+H0AmHTwcryCMJFmdRn1m5brh1SaaveYff1Ayjfc20u/lGH5lzjc/sHvQqJSDIX 3Z03n5m1xtUfOoNPheHNugcZ/ziMdtJewco+81d1jAAojc+8BoMxtayair+wX/4kEd6l +S/dRTyHKoedJ8bYxrKD3DNSiqXbog0AsBkTLhTPktT0DYo642Mm8LfWroAGncKs6+PU b67vtwEQiT2BVP/Dd3Y+VMhposMlWofo1w4aEZ3Z+KmOguwoS2AJ62+OU2ZWEnjm9foA dAu5R5tcjfvE+hH7XNvOqnwmFIAjc/Tx16+rGd1RjkUxawf1Nmpj2Ka3RShEuaINKCtq GFxQ== 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=vy4267y1dxmsKTG69egEMnfQs7HYYHRodKLsTENFz9c=; b=Npe12ckAldLKz2+7zEpAhhsvUPZgpGPt30XrYyHrwznxAEn4AbZ1D8AmMyg2E64OKV 8An4Zh9vI/ZYgwWVk25cNGanyqkAOW1aUo2tSpxC+fLO4yQdnBc4j9uLVgxXaQRB1x9y 1BlpG5N8EQKETTV1jl9WC0wW0hqjzin/fou4GwlLw5ltf72GpprjDWN61wBtsr2E+03A irnZcmXwK8px5X1bc+gBayyKfxwWXElK2xUrvdI4DGCtPZJEC3HBiBHpPnY9EI6pRYs4 CUaWhfvKzPDdH2xnh89iqwZLTJ+2f0NbJ4lB1jYB+MhGxmpNMp9dR54e5Uo3yyntohFR 2ifg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=Yi4TR7AV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="FLj/b9i2"; 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 c8si6240161qtm.30.2020.11.09.10.23.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:23:21 -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=Yi4TR7AV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="FLj/b9i2"; 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=vy4267y1dxmsKTG69egEMnfQs7HYYHRodKLsTENFz9c=; b=Yi4TR7AV9dWem0Nj9SWAFvUrE O/I5MDYkftdFz6Dmai3awkHgSzmF4hINxUpTlWV0f03vujMVTFD45qc0/zMracS0d+ABkUjlgCWyI y8OFWUEhVDZNSNWf0B+I0RC/sYQYo+XKIJR9yqZH0d3GRRbOfK/UcPiYSvYz+qv1oGjgNd4W0HK+t uRZ9fqc4xd0DPYagZGXhxaIHOKqFuiZel5MdS8bb2FSaNS8u3XqXHPgN39Ou9a3kSLI7Il3lYakfQ vyZ5OTrSwFHUHcp1mVw7RiqeN+LOlSlmWtv14YJKohD8RHldsJtePp6TXZnuqJMW07JymeJQDjyTv pXOPn5hMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBop-0001BR-Lw; Mon, 09 Nov 2020 18:23:07 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBoA-0000pb-O4 for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:32 +0000 Received: by mail-wm1-x341.google.com with SMTP id p19so436189wmg.0 for ; Mon, 09 Nov 2020 10:22:26 -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=/HSXbLD6nqQi0zyF0AV9ugs6EBiM6o8rIQYPcXPYEB0=; b=FLj/b9i2Zy4p8huivBf9LP0kU7ppNFuEM3LX1lt9lGu787iQs513Vfmapi1LhRjrau BLdR1O6bGDu0xSXvJ1MqeuoOu6nQrfwmTDEx6wRcnQfQWwUZwMG9YDwT55gX6eWY2NWc mLCIMEWWhP6TVGA0R/D6vl5awrmI00Ln1ttaJMzTLuNE7bR3tRULSOgp4VWjUjUZmYTT a98XhH2Ga0H2kZ2hmn+1fKcPqkefoqt0Hukhr0VR9XGr/FnpSnPDLwu3dm07NiibN/0L Qc3ImYpeYWKYaRMTunXbDK9wH98FmruKYpu6V96IPuyldrcR/Ltg78qn88ci75am3Rvo vStw== 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=/HSXbLD6nqQi0zyF0AV9ugs6EBiM6o8rIQYPcXPYEB0=; b=hTOMg6n02Wd+sRn1K2R+8lqyaERb+ZDrBmuGYJYTIzq+seccAYIkP0jjeCzSyDlgZn ss7nVNBA/BWiqP5frMTpz4WD+3wT0rh+o4IPOoBTh/CnY9d3CzQ9yDTZoAsps/9XIzez 8dYM+d8I/174vejj4+q9e0ur8g7wTNKRGnt8YtHWVth38Loxb2hk89Y23tZqj32KmZOf R86TMN7zRwJ9SY01Qb/VcDjCd8nxt7m+ko2dljS56oMbaHnm7YZWI6TtdrUipfypag0f md+3Yu+wY8UvYY3bMYD7eu/UiLKuCkW94OOkVNXzDrnrEghalhLF2j8jjLSf0YDD6jbO FVLA== X-Gm-Message-State: AOAM530aB26PXrIvdOziVEuvA8mqPffgjwiZUbf68qm6NPVZv5JV6rwv IK4+U+MTG1cwfEseSKP5O2Cwrm0q8RUEetNA X-Received: by 2002:a1c:6508:: with SMTP id z8mr491052wmb.80.1604946145584; Mon, 09 Nov 2020 10:22:25 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:24 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 05/23] mtd: Fix misspelled function parameter 'section' Date: Mon, 9 Nov 2020 18:21:48 +0000 Message-Id: <20201109182206.3037326-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-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-20201109_132226_936838_A496549F X-CRM114-Status: GOOD ( 16.81 ) 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:341 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_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: Vignesh Raghavendra , Alexander Dahl , 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 Reviewed-by: Alexander Dahl --- 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