2021-11-24 10:10:13

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] lan78xx: Clean up some inconsistent indenting

Eliminate the follow smatch warning:

drivers/net/usb/lan78xx.c:4961 lan78xx_resume() warn: inconsistent
indenting.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/net/usb/lan78xx.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c
index a9e7cbe..2bfb59a 100644
--- a/drivers/net/usb/lan78xx.c
+++ b/drivers/net/usb/lan78xx.c
@@ -4957,8 +4957,7 @@ static int lan78xx_resume(struct usb_interface *intf)
if (ret < 0) {
if (ret == -ENODEV)
netif_device_detach(dev->net);
-
- netdev_warn(dev->net, "Failed to submit intr URB");
+ netdev_warn(dev->net, "Failed to submit intr URB");
}
}

--
1.8.3.1



2021-11-24 12:00:17

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] lan78xx: Clean up some inconsistent indenting

Hello:

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

On Wed, 24 Nov 2021 18:09:56 +0800 you wrote:
> Eliminate the follow smatch warning:
>
> drivers/net/usb/lan78xx.c:4961 lan78xx_resume() warn: inconsistent
> indenting.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
>
> [...]

Here is the summary with links:
- lan78xx: Clean up some inconsistent indenting
https://git.kernel.org/netdev/net-next/c/45932221bd94

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