Re: [PATCH net-next 2/8] net: phy: correct format of block comments
From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-06-11 14:36:44
On Fri, Jun 11, 2021 at 02:36:53PM +0800, Weihang Li wrote:
quoted hunk ↗ jump to hunk
From: Wenpeng Liang <redacted> 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 <redacted> Signed-off-by: Weihang Li <redacted> --- 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