[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f9f2ed25-8903-450b-0971-a5eb292380cf@gmail.com>
Date: Tue, 16 Feb 2021 10:20:22 +0100
From: Heiner Kallweit <hkallweit1@...il.com>
To: Du Cheng <ducheng2@...il.com>, Manish Chopra <manishc@...vell.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
devel@...verdev.osuosl.org, netdev@...r.kernel.org
Subject: Re: [PATCH v3] staging: fix coding style in
driver/staging/qlge/qlge_main.c
On 16.02.2021 09:53, Du Cheng wrote:
> align * in block comments on each line
>
> changes v3:
> - add SUBSYSTEM in subject line
> - add explanation to past version of this patch
>
> changes v2:
> - move closing of comment to the same line
>
> changes v1:
> - align * in block comments
>
> Signed-off-by: Du Cheng <ducheng2@...il.com>
> ---
> drivers/staging/qlge/qlge_main.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c
> index 5516be3af898..2682a0e474bd 100644
> --- a/drivers/staging/qlge/qlge_main.c
> +++ b/drivers/staging/qlge/qlge_main.c
> @@ -3815,8 +3815,7 @@ static int qlge_adapter_down(struct qlge_adapter *qdev)
>
> qlge_tx_ring_clean(qdev);
>
> - /* Call netif_napi_del() from common point.
> - */
> + /* Call netif_napi_del() from common point. */
> for (i = 0; i < qdev->rss_ring_count; i++)
> netif_napi_del(&qdev->rx_ring[i].napi);
>
>
Typically such trivial patches aren't much appreciated for staging drivers.
In the case here I have doubts that the comment as such provides any benefit.
Powered by blists - more mailing lists