2022-09-21 07:08:30

by Horatiu Vultur

[permalink] [raw]
Subject: [PATCH net-next] net: phy: micrel: Fix double spaces inside lan8814_config_intr

Inside the function lan8814_config_intr, there are double spaces when
assigning the return value of phy_write to err.

Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Horatiu Vultur <[email protected]>
---
drivers/net/phy/micrel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index c225df56b7d26..f5c3c5c2fe11f 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -2874,9 +2874,9 @@ static int lan8814_config_intr(struct phy_device *phydev)
if (err)
return err;

- err = phy_write(phydev, LAN8814_INTC, LAN8814_INT_LINK);
+ err = phy_write(phydev, LAN8814_INTC, LAN8814_INT_LINK);
} else {
- err = phy_write(phydev, LAN8814_INTC, 0);
+ err = phy_write(phydev, LAN8814_INTC, 0);
if (err)
return err;

--
2.33.0


2022-09-21 15:26:36

by Andrew Lunn

[permalink] [raw]
Subject: Re: [PATCH net-next] net: phy: micrel: Fix double spaces inside lan8814_config_intr

On Wed, Sep 21, 2022 at 08:54:44AM +0200, Horatiu Vultur wrote:
> Inside the function lan8814_config_intr, there are double spaces when
> assigning the return value of phy_write to err.
>
> Suggested-by: Jakub Kicinski <[email protected]>
> Signed-off-by: Horatiu Vultur <[email protected]>

Reviewed-by: Andrew Lunn <[email protected]>

Andrew

2022-09-22 21:47:35

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next] net: phy: micrel: Fix double spaces inside lan8814_config_intr

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <[email protected]>:

On Wed, 21 Sep 2022 08:54:44 +0200 you wrote:
> Inside the function lan8814_config_intr, there are double spaces when
> assigning the return value of phy_write to err.
>
> Suggested-by: Jakub Kicinski <[email protected]>
> Signed-off-by: Horatiu Vultur <[email protected]>
> ---
> drivers/net/phy/micrel.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Here is the summary with links:
- [net-next] net: phy: micrel: Fix double spaces inside lan8814_config_intr
https://git.kernel.org/netdev/net-next/c/f8b2cce430d9

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html