lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YMN092dsNrUikeQJ@lunn.ch>
Date:   Fri, 11 Jun 2021 16:36:39 +0200
From:   Andrew Lunn <andrew@...n.ch>
To:     Weihang Li <liweihang@...wei.com>
Cc:     davem@...emloft.net, kuba@...nel.org, hkallweit1@...il.com,
        netdev@...r.kernel.org, linuxarm@...wei.com,
        Wenpeng Liang <liangwenpeng@...wei.com>
Subject: Re: [PATCH net-next 2/8] net: phy: correct format of block comments

On Fri, Jun 11, 2021 at 02:36:53PM +0800, Weihang Li wrote:
> From: Wenpeng Liang <liangwenpeng@...wei.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@...wei.com>
> Signed-off-by: Weihang Li <liweihang@...wei.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ