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=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 B12E3C433DF for ; Wed, 1 Jul 2020 07:07:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7DECF20663 for ; Wed, 1 Jul 2020 07:07:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yl2XQlZK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7DECF20663 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CHTbKhthh43utODZX6+rUyJAM3A52wVMPIWm85w+4vo=; b=yl2XQlZK46r3rVYAFcTZZ6X19 +0enwzWpeVRm2qgkeyoVZjLG5jqTpvJ9tzdht2fPb2Zm1zvJjotng4nuE6W3ieGOtQrP0bjtKvrTM zY3zQM33+iHwM9TvbIRGsc2FfMkqLgwVRVWWXQ6sIBC5h0b/7oeTWvm2VwYfwNzK55KUbx80+zonU uMdyVgvmGhaWKi+jE/b1MYrd0PlVcYhaRB+4x/Q6X6UTPWA1Bw6Vwn6jx4KQOvGQQwosslDaYbHwo 1AJuuLSZFRRSqr9BNyrff3+i7q7/aLhYzmaQo/QnGvhg5fP0XJtpdnQEhZv0CS5QZSWjBE6wRf7Au C/bRn5PAw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqWoi-0008Jt-8i; Wed, 01 Jul 2020 07:06:00 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqWoe-0008Ir-WC for linux-arm-kernel@lists.infradead.org; Wed, 01 Jul 2020 07:05:58 +0000 Received: from sekiro (lfbn-mar-1-814-213.w92-150.abo.wanadoo.fr [92.150.24.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B255120663; Wed, 1 Jul 2020 07:05:44 +0000 (UTC) Date: Wed, 1 Jul 2020 09:05:35 +0200 From: Ludovic Desroches To: Lee Jones Subject: Re: [PATCH 05/10] gpio: gpio-sama5d2-piobu: Demote all kerneldoc headers to basic comment blocks Message-ID: <20200701070535.stnl53wxyez6hcpt@sekiro> References: <20200630133345.2232932-1-lee.jones@linaro.org> <20200630133345.2232932-6-lee.jones@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200630133345.2232932-6-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200701_030557_172467_B821E58A X-CRM114-Status: GOOD ( 20.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrei Stefanescu , linux-gpio@vger.kernel.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, bgolaszewski@baylibre.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 30, 2020 at 02:33:40PM +0100, Lee Jones wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > No attempt has been made to provide proper descriptions for each of > the function arguments throughout the file. Simply demote all > kerneldoc headers to basic function headers. > > Fixes the following W=1 kernel build warnings: > > drivers/gpio/gpio-sama5d2-piobu.c:59: warning: Function parameter or member 'chip' not described in 'sama5d2_piobu_setup_pin' > drivers/gpio/gpio-sama5d2-piobu.c:59: warning: Function parameter or member 'pin' not described in 'sama5d2_piobu_setup_pin' > drivers/gpio/gpio-sama5d2-piobu.c:81: warning: Function parameter or member 'chip' not described in 'sama5d2_piobu_write_value' > drivers/gpio/gpio-sama5d2-piobu.c:81: warning: Function parameter or member 'pin' not described in 'sama5d2_piobu_write_value' > drivers/gpio/gpio-sama5d2-piobu.c:81: warning: Function parameter or member 'mask' not described in 'sama5d2_piobu_write_value' > drivers/gpio/gpio-sama5d2-piobu.c:81: warning: Function parameter or member 'value' not described in 'sama5d2_piobu_write_value' > drivers/gpio/gpio-sama5d2-piobu.c:97: warning: Function parameter or member 'chip' not described in 'sama5d2_piobu_read_value' > drivers/gpio/gpio-sama5d2-piobu.c:97: warning: Function parameter or member 'pin' not described in 'sama5d2_piobu_read_value' > drivers/gpio/gpio-sama5d2-piobu.c:97: warning: Function parameter or member 'mask' not described in 'sama5d2_piobu_read_value' > drivers/gpio/gpio-sama5d2-piobu.c:116: warning: Function parameter or member 'chip' not described in 'sama5d2_piobu_get_direction' > drivers/gpio/gpio-sama5d2-piobu.c:116: warning: Function parameter or member 'pin' not described in 'sama5d2_piobu_get_direction' > drivers/gpio/gpio-sama5d2-piobu.c:131: warning: Function parameter or member 'chip' not described in 'sama5d2_piobu_direction_input' > drivers/gpio/gpio-sama5d2-piobu.c:131: warning: Function parameter or member 'pin' not described in 'sama5d2_piobu_direction_input' > drivers/gpio/gpio-sama5d2-piobu.c:140: warning: Function parameter or member 'chip' not described in 'sama5d2_piobu_direction_output' > drivers/gpio/gpio-sama5d2-piobu.c:140: warning: Function parameter or member 'pin' not described in 'sama5d2_piobu_direction_output' > drivers/gpio/gpio-sama5d2-piobu.c:140: warning: Function parameter or member 'value' not described in 'sama5d2_piobu_direction_output' > drivers/gpio/gpio-sama5d2-piobu.c:154: warning: Function parameter or member 'chip' not described in 'sama5d2_piobu_get' > drivers/gpio/gpio-sama5d2-piobu.c:154: warning: Function parameter or member 'pin' not described in 'sama5d2_piobu_get' > drivers/gpio/gpio-sama5d2-piobu.c:174: warning: Function parameter or member 'chip' not described in 'sama5d2_piobu_set' > drivers/gpio/gpio-sama5d2-piobu.c:174: warning: Function parameter or member 'pin' not described in 'sama5d2_piobu_set' > drivers/gpio/gpio-sama5d2-piobu.c:174: warning: Function parameter or member 'value' not described in 'sama5d2_piobu_set' > > Cc: Ludovic Desroches > Cc: Andrei Stefanescu > Signed-off-by: Lee Jones Acked-by: Ludovic Desroches Thanks. > --- > drivers/gpio/gpio-sama5d2-piobu.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/gpio/gpio-sama5d2-piobu.c b/drivers/gpio/gpio-sama5d2-piobu.c > index 4d47b2c411868..b7c9506581701 100644 > --- a/drivers/gpio/gpio-sama5d2-piobu.c > +++ b/drivers/gpio/gpio-sama5d2-piobu.c > @@ -49,7 +49,7 @@ struct sama5d2_piobu { > struct regmap *regmap; > }; > > -/** > +/* > * sama5d2_piobu_setup_pin() - prepares a pin for set_direction call > * > * Do not consider pin for tamper detection (normal and backup modes) > @@ -73,7 +73,7 @@ static int sama5d2_piobu_setup_pin(struct gpio_chip *chip, unsigned int pin) > return regmap_update_bits(piobu->regmap, PIOBU_WKPR, mask, 0); > } > > -/** > +/* > * sama5d2_piobu_write_value() - writes value & mask at the pin's PIOBU register > */ > static int sama5d2_piobu_write_value(struct gpio_chip *chip, unsigned int pin, > @@ -88,7 +88,7 @@ static int sama5d2_piobu_write_value(struct gpio_chip *chip, unsigned int pin, > return regmap_update_bits(piobu->regmap, reg, mask, value); > } > > -/** > +/* > * sama5d2_piobu_read_value() - read the value with masking from the pin's PIOBU > * register > */ > @@ -108,7 +108,7 @@ static int sama5d2_piobu_read_value(struct gpio_chip *chip, unsigned int pin, > return val & mask; > } > > -/** > +/* > * sama5d2_piobu_get_direction() - gpiochip get_direction > */ > static int sama5d2_piobu_get_direction(struct gpio_chip *chip, > @@ -123,7 +123,7 @@ static int sama5d2_piobu_get_direction(struct gpio_chip *chip, > GPIO_LINE_DIRECTION_OUT; > } > > -/** > +/* > * sama5d2_piobu_direction_input() - gpiochip direction_input > */ > static int sama5d2_piobu_direction_input(struct gpio_chip *chip, > @@ -132,7 +132,7 @@ static int sama5d2_piobu_direction_input(struct gpio_chip *chip, > return sama5d2_piobu_write_value(chip, pin, PIOBU_DIRECTION, PIOBU_IN); > } > > -/** > +/* > * sama5d2_piobu_direction_output() - gpiochip direction_output > */ > static int sama5d2_piobu_direction_output(struct gpio_chip *chip, > @@ -147,7 +147,7 @@ static int sama5d2_piobu_direction_output(struct gpio_chip *chip, > val); > } > > -/** > +/* > * sama5d2_piobu_get() - gpiochip get > */ > static int sama5d2_piobu_get(struct gpio_chip *chip, unsigned int pin) > @@ -166,7 +166,7 @@ static int sama5d2_piobu_get(struct gpio_chip *chip, unsigned int pin) > return !!ret; > } > > -/** > +/* > * sama5d2_piobu_set() - gpiochip set > */ > static void sama5d2_piobu_set(struct gpio_chip *chip, unsigned int pin, > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel