Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1585568pxb; Fri, 6 Nov 2020 13:41:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxB2qEnkiIEfFgZaUOwnsgZhv2RnSlbmyoyXsQeYXkMRgqdNV71kxk7prp9veicJK9Wt52L X-Received: by 2002:a17:906:4116:: with SMTP id j22mr4000250ejk.373.1604698889628; Fri, 06 Nov 2020 13:41:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698889; cv=none; d=google.com; s=arc-20160816; b=T8rEX/cLfUWbBHT0SEENwunstGaZKQvq2nJdPEkJfmgFx8Uc5fBNSoMvbkUIbjbtpn 9LdXd/xKyzMTgNS4Z8dsF6NNUaOIcqeiBwht1+fpi1RW080uLYbjYV6gljB9TdQTFxtq XPxRQ2hg4oW6vdc6FIzDznAki8k8kwj1h3/mrF1KHVGWQTAUKFVPKl1dMVOFMeTZEMXp yXVhyrBi7BJosbemoKMzGZ/vcSHV7IPaLGxpuT0hokdAAH6iOGWe76lzDHMX7AOLcPSs ZFAFIr4cypnvMz6PkY+6gxg2W9wxbMgM9/0ey6Oj7zP/N8/sOCzXEHgSmmFT7L7VYxAU mjHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dAVB42jTKgsR2DuIhHd9CknEAkwHuiO/0Jzqc0AJHek=; b=upML6WJnxk7CGNhtIerDjPZaHCEO60I8MMoQPfF7lVA+E1GOIiCWd81gppRQwKJTtv IHxMCwazRTF+L+6/pxFHU/gV/gswJCu8gIZ7NREojybSSxjDkJnZeHmCaUf9Zfz87hj8 F2zxxNhJoDqn3E9F3OhRz1i7yRYVije+GmF6D63dwa5UANXZCXMVpPbKXnytVRSe94gU ly5h0Dif8S50aim/wJ5e195rBuTmIyASxbxxl86AsvHScbElsYeew6u58UcTC0eOVtgu eGTGFrQ+THrgBQFt4Wq0N7rm8DalaxcujyU2Bow7rZXkyrBMw/HUip3NmzFBSeSOYbNU vtLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Xft/B9fu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si2052386edu.457.2020.11.06.13.41.07; Fri, 06 Nov 2020 13:41:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Xft/B9fu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728758AbgKFVi0 (ORCPT + 99 others); Fri, 6 Nov 2020 16:38:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728339AbgKFVhI (ORCPT ); Fri, 6 Nov 2020 16:37:08 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA811C0613CF for ; Fri, 6 Nov 2020 13:37:07 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id w24so138041wmi.0 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=cg6h4KAmLaE1Ghi59EsWZpM/WSC2GQLo00SRA369A4uWwOmbVeXHlfclIUth6b4CYJ Ue9oegApBKQ8+DuR9RM5i4+41h/NazCd7IYKQrimW9EaJZcP+w66uJBpGqnYhg/5LdWL knh731sPGuuUo7TFnCWEbc4RtdIcIHvzfCq/GhQ3c2IS8xhc+P1AAZaQHKOu68WLije8 lWwjHLDyxtDRjhaDBrLxs3unnF5nvKmZypbV9TO/lkt4WpFkPAA8KzM7rhdXw2L7ofr9 vBwH8/DwBrHFveN8nclUM5N2FTNrmnFXy6qsP/SZ1k0cM/z2XRK333Zv3nRD2M8rEWp3 cd/w== X-Gm-Message-State: AOAM532odgLPWeyO8wleOrFf9A25FeF7cdo2mlQdvBfSwm+OV9wJAUnZ vicgtasDU1L/eao/7Gw9dGt7iw== 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 Cc: linux-kernel@vger.kernel.org, Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , David Woodhouse , linux-mtd@lists.infradead.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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) 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 -- 2.25.1