* [PATCH] net: phy: Fix inconsistent indenting
@ 2021-05-21 9:40 Jiapeng Chong
2021-05-21 13:10 ` Andrew Lunn
2021-05-21 21:00 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Jiapeng Chong @ 2021-05-21 9:40 UTC (permalink / raw)
To: andrew
Cc: hkallweit1, linux, davem, kuba, netdev, linux-kernel, Jiapeng Chong
Eliminate the follow smatch warning:
drivers/net/phy/phy_device.c:2886 phy_probe() warn: inconsistent
indenting.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
drivers/net/phy/phy_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index 0a2d8be..1539ea0 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -2883,7 +2883,7 @@ static int phy_probe(struct device *dev)
/* Disable the interrupt if the PHY doesn't support it
* but the interrupt is still a valid one
*/
- if (!phy_drv_supports_irq(phydrv) && phy_interrupt_is_valid(phydev))
+ if (!phy_drv_supports_irq(phydrv) && phy_interrupt_is_valid(phydev))
phydev->irq = PHY_POLL;
if (phydrv->flags & PHY_IS_INTERNAL)
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] net: phy: Fix inconsistent indenting
2021-05-21 9:40 [PATCH] net: phy: Fix inconsistent indenting Jiapeng Chong
@ 2021-05-21 13:10 ` Andrew Lunn
2021-05-21 21:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2021-05-21 13:10 UTC (permalink / raw)
To: Jiapeng Chong; +Cc: hkallweit1, linux, davem, kuba, netdev, linux-kernel
On Fri, May 21, 2021 at 05:40:14PM +0800, Jiapeng Chong wrote:
> Eliminate the follow smatch warning:
>
> drivers/net/phy/phy_device.c:2886 phy_probe() warn: inconsistent
> indenting.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net: phy: Fix inconsistent indenting
2021-05-21 9:40 [PATCH] net: phy: Fix inconsistent indenting Jiapeng Chong
2021-05-21 13:10 ` Andrew Lunn
@ 2021-05-21 21:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-05-21 21:00 UTC (permalink / raw)
To: Jiapeng Chong
Cc: andrew, hkallweit1, linux, davem, kuba, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Fri, 21 May 2021 17:40:14 +0800 you wrote:
> Eliminate the follow smatch warning:
>
> drivers/net/phy/phy_device.c:2886 phy_probe() warn: inconsistent
> indenting.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
>
> [...]
Here is the summary with links:
- net: phy: Fix inconsistent indenting
https://git.kernel.org/netdev/net-next/c/b269875f91c3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-21 21:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 9:40 [PATCH] net: phy: Fix inconsistent indenting Jiapeng Chong
2021-05-21 13:10 ` Andrew Lunn
2021-05-21 21:00 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.