public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn•ch>
To: Weihang Li <liweihang@huawei•com>
Cc: davem@davemloft•net, kuba@kernel•org, hkallweit1@gmail•com,
	netdev@vger•kernel.org, linuxarm@huawei•com,
	Wenpeng Liang <liangwenpeng@huawei•com>
Subject: Re: [PATCH net-next 2/8] net: phy: correct format of block comments
Date: Fri, 11 Jun 2021 16:36:39 +0200	[thread overview]
Message-ID: <YMN092dsNrUikeQJ@lunn.ch> (raw)
In-Reply-To: <1623393419-2521-3-git-send-email-liweihang@huawei.com>

On Fri, Jun 11, 2021 at 02:36:53PM +0800, Weihang Li wrote:
> From: Wenpeng Liang <liangwenpeng@huawei•com>
> 
> Block comments should not use a trailing */ on a separate line and every
> line of a block comment should start with an '*'.
> 
> Signed-off-by: Wenpeng Liang <liangwenpeng@huawei•com>
> Signed-off-by: Weihang Li <liweihang@huawei•com>
> ---
>  drivers/net/phy/lxt.c      | 6 +++---
>  drivers/net/phy/national.c | 6 ++++--
>  drivers/net/phy/phy-core.c | 3 ++-
>  drivers/net/phy/phylink.c  | 9 ++++++---
>  drivers/net/phy/vitesse.c  | 3 ++-
>  5 files changed, 17 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c
> index bde3356..5e00910 100644
> --- a/drivers/net/phy/lxt.c
> +++ b/drivers/net/phy/lxt.c
> @@ -241,9 +241,9 @@ static int lxt973a2_read_status(struct phy_device *phydev)
>  			if (lpa < 0)
>  				return lpa;
>  
> -			/* If both registers are equal, it is suspect but not
> -			* impossible, hence a new try
> -			*/
> +		/* If both registers are equal, it is suspect but not
> +		 * impossible, hence a new try
> +		 */
>  		} while (lpa == adv && retry--);

Please indicate in the commit message why you changed the indentation.

       Andrew

  reply	other threads:[~2021-06-11 14:36 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11  6:36 [PATCH net-next 0/8] net: phy: fix some coding-style issues Weihang Li
2021-06-11  6:36 ` [PATCH net-next 1/8] net: phy: add a blank line after declarations Weihang Li
2021-06-11 14:31   ` Andrew Lunn
2021-06-15  6:12     ` liweihang
2021-06-11  6:36 ` [PATCH net-next 2/8] net: phy: correct format of block comments Weihang Li
2021-06-11 14:36   ` Andrew Lunn [this message]
2021-06-15  6:18     ` liweihang
2021-06-11  6:36 ` [PATCH net-next 3/8] net: phy: delete repeated word " Weihang Li
2021-06-11 14:39   ` Andrew Lunn
2021-06-15  6:21     ` liweihang
2021-06-11  6:36 ` [PATCH net-next 4/8] net: phy: fixed formatting issues with braces Weihang Li
2021-06-11 14:41   ` Andrew Lunn
2021-06-16  6:39     ` liweihang
2021-06-11  6:36 ` [PATCH net-next 5/8] net: phy: fixed space alignment issues Weihang Li
2021-06-11 15:30   ` Andrew Lunn
2021-06-15  6:24     ` liweihang
2021-06-11  6:36 ` [PATCH net-next 6/8] net: phy: print the function name by __func__ instead of an fixed string Weihang Li
2021-06-11 16:05   ` Andrew Lunn
2021-06-15  6:26     ` liweihang
2021-06-16  8:14     ` liweihang
2021-06-11  6:36 ` [PATCH net-next 7/8] net: phy: remove unnecessary line continuation Weihang Li
2021-06-11 16:06   ` Andrew Lunn
2021-06-15  6:26     ` liweihang
2021-06-11  6:36 ` [PATCH net-next 8/8] net: phy: use '__packed' instead of '__attribute__((__packed__))' Weihang Li
2021-06-11 16:07   ` Andrew Lunn
2021-06-14 14:28   ` David Laight
2021-06-16  6:17     ` liweihang
2021-06-16  8:47       ` David Laight

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YMN092dsNrUikeQJ@lunn.ch \
    --to=andrew@lunn$(echo .)ch \
    --cc=davem@davemloft$(echo .)net \
    --cc=hkallweit1@gmail$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=liangwenpeng@huawei$(echo .)com \
    --cc=linuxarm@huawei$(echo .)com \
    --cc=liweihang@huawei$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox