2021-05-20 06:24:15

by Guangbin Huang

[permalink] [raw]
Subject: [PATCH net-next 0/4] net: bonding: clean up some code style issues

This patchset cleans up some code style issues.

Yufeng Mo (4):
net: bonding: add some required blank lines
net: bonding: fix code indent for conditional statements
net: bonding: remove unnecessary braces
net: bonding: use tabs instead of space for code indent

drivers/net/bonding/bond_alb.c | 5 ++++-
drivers/net/bonding/bond_debugfs.c | 3 +--
drivers/net/bonding/bond_main.c | 5 +++--
drivers/net/bonding/bond_netlink.c | 2 +-
drivers/net/bonding/bond_procfs.c | 1 +
drivers/net/bonding/bond_sysfs.c | 7 +++++++
6 files changed, 17 insertions(+), 6 deletions(-)

--
2.8.1


2021-05-20 06:24:29

by Guangbin Huang

[permalink] [raw]
Subject: [PATCH net-next 4/4] net: bonding: use tabs instead of space for code indent

From: Yufeng Mo <[email protected]>

Code indent should use tabs where possible, so
use tabs instead of space for code indent.

Signed-off-by: Yufeng Mo <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
---
drivers/net/bonding/bond_netlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/bonding/bond_netlink.c b/drivers/net/bonding/bond_netlink.c
index f0f9138e967f..0561ece1ba45 100644
--- a/drivers/net/bonding/bond_netlink.c
+++ b/drivers/net/bonding/bond_netlink.c
@@ -598,7 +598,7 @@ static int bond_fill_info(struct sk_buff *skb,
goto nla_put_failure;

if (nla_put_u32(skb, IFLA_BOND_RESEND_IGMP,
- bond->params.resend_igmp))
+ bond->params.resend_igmp))
goto nla_put_failure;

if (nla_put_u8(skb, IFLA_BOND_NUM_PEER_NOTIF,
--
2.8.1

2021-05-21 20:01:53

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next 0/4] net: bonding: clean up some code style issues

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Thu, 20 May 2021 14:18:31 +0800 you wrote:
> This patchset cleans up some code style issues.
>
> Yufeng Mo (4):
> net: bonding: add some required blank lines
> net: bonding: fix code indent for conditional statements
> net: bonding: remove unnecessary braces
> net: bonding: use tabs instead of space for code indent
>
> [...]

Here is the summary with links:
- [net-next,1/4] net: bonding: add some required blank lines
https://git.kernel.org/netdev/net-next/c/86a5ad0a4608
- [net-next,2/4] net: bonding: fix code indent for conditional statements
https://git.kernel.org/netdev/net-next/c/8ce390bb9859
- [net-next,3/4] net: bonding: remove unnecessary braces
https://git.kernel.org/netdev/net-next/c/52333512701b
- [net-next,4/4] net: bonding: use tabs instead of space for code indent
https://git.kernel.org/netdev/net-next/c/97a1111d9ca6

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