From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E936C388F7 for ; Mon, 9 Nov 2020 14:19:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 32E9E2076E for ; Mon, 9 Nov 2020 14:19:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730835AbgKIOTi (ORCPT ); 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) 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