Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3240347pxb; Mon, 9 Nov 2020 06:21:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5MM2XzlEE7cuNKNrfIL4sEr1r31zwHLRk3UAuLxCurkR3dy5+U4lsw3j/LDU/MrbD7yIk X-Received: by 2002:a17:906:680c:: with SMTP id k12mr15920188ejr.368.1604931684816; Mon, 09 Nov 2020 06:21:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604931684; cv=none; d=google.com; s=arc-20160816; b=TPXarXzsm6Prx4zyrl8ADmY6i6RObTos3BTmEgW+0ljb/DzY2zLlP6nm5/cdAgqmht cbA9+hoCDd5vdMEOQcfURmO52+zmCYHnDGvXCUj0wIjmvD33cDoTDX2Fn4TP3DgaMaRT q0LZfOk3y4o2ZGXWKEUQax5M2xXcWc3+CIGhDhRK/lL4J8kQhp1Xah3W6o2wWp3h259z dillJU3Ei+8Cq24uY/mBefierGcYDEhtFOwhJuQyUkdBpaZLdOh0/ogPzi4uu7OAZvC6 7w+aHOEN5O8OikCHFTM+djos3qi0FlV+RbcGHYel0JhKS+PHooVcBGnJkp1PFJKazFqH wYoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from; bh=Rzh1s5hLlujRDL/c/6mbxx6buMjodjkWoZVgTgo4fR4=; b=axoTLPCYxOwBX9JVT4gUYHujyYvtIz8GwCTBbDIh+LbWgGNInb0LxYXO8k/FAbh0p6 MJYJX41OR9dfjjYDsV7oF3rdzjyesyG1nF/7hz5TZcaECufVOX8CxqRziuKIjnjkiWOC Ctz+m6Jh811FOzjHv1TDqJnG3BxWV/54oMrVhHMJhVieqreimI6sf3GlnpzpThEQIQbX COmyMqrTFj0X/ECXUdFKvlmiI+Hr7L2q++l7rw60wcQMEtIpTG7yIRZm2NVB4kn1KN1w aga6CidKVZmOt1c18ajlATDIk8bhIroDWd0zqObJt1RSMORB4CYFTcLHF+e3TzPQe93f qj0g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rk26si7078554ejb.453.2020.11.09.06.21.02; Mon, 09 Nov 2020 06:21:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730354AbgKIOTi (ORCPT + 99 others); Mon, 9 Nov 2020 09:19:38 -0500 Received: from mail.thorsis.com ([92.198.35.195]:60017 "EHLO mail.thorsis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729776AbgKIOTh (ORCPT ); Mon, 9 Nov 2020 09:19:37 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id C0B06F2C for ; Mon, 9 Nov 2020 15:19:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hbjSGg2J5noT for ; Mon, 9 Nov 2020 15:19:35 +0100 (CET) Received: by mail.thorsis.com (Postfix, from userid 109) id 28B434753; Mon, 9 Nov 2020 15:19:33 +0100 (CET) X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 From: Alexander Dahl To: linux-mtd@lists.infradead.org Cc: Lee Jones , Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Miquel Raynal , David Woodhouse Subject: Re: [PATCH v2 05/23] mtd: mtdcore: Fix misspelled function parameter 'section' Date: Mon, 09 Nov 2020 15:19:28 +0100 Message-ID: <14597255.v2tPdhxTZE@ada> In-Reply-To: <20201106213655.1838861-6-lee.jones@linaro.org> References: <20201106213655.1838861-1-lee.jones@linaro.org> <20201106213655.1838861-6-lee.jones@linaro.org> Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Am Freitag, 6. November 2020, 22:36:37 CET schrieb Lee Jones: > 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 Reviewed-by: Alexander Dahl Greets Alex