Skip to contentSkip to conversation

net: bridge: clean up one inconsistent indenting

PATCH In review Yang Li 3 participants 6 messages Feb 8, 2023

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 net: bridge: clean up one inconsistent indenting

./net/bridge/br_netlink_tunnel.c:317:4-27: code aligned with following code on line 318

---
 net/bridge/br_netlink_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/bridge/br_netlink_tunnel.c +1 -1
index 17abf092f7ca..eff949bfdd83 100644
@@ -315,7 +315,7 @@ int br_process_vlan_tunnel_info(const struct net_bridge *br,
 
 			if (curr_change)
 				*changed = curr_change;
-			 __vlan_tunnel_handle_range(p, &v_start, &v_end, v,
+			__vlan_tunnel_handle_range(p, &v_start, &v_end, v,
 						    curr_change);
 		}
 		if (v_start && v_end)
Signature · 1 line
2.20.1.7.g153144c
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Yang Li

./net/bridge/br_netlink_tunnel.c:317:4-27: code aligned with following code on line 318

---
  net/bridge/br_netlink_tunnel.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
net/bridge/br_netlink_tunnel.c +0 -0
index 17abf092f7ca..eff949bfdd83 100644

net/bridge/br_netlink_tunnel.c int br_process_vlan_tunnel_info(const struct net_bridge *br, · line 321

Quoted 8 lines
net/bridge/br_netlink_tunnel.c +1 -1
@@ -315,7 +315,7 @@ int br_process_vlan_tunnel_info(const struct net_bridge *br,
 
  			if (curr_change)
  				*changed = curr_change;
-			 __vlan_tunnel_handle_range(p, &v_start, &v_end, v,
+			__vlan_tunnel_handle_range(p, &v_start, &v_end, v,
  						    curr_change);
  		}
  		if (v_start && v_end)
#2 lore raw
In reply to Yang Li
Quoted 5 lines · Yang Li

./net/bridge/br_netlink_tunnel.c:317:4-27: code aligned with following code on line 318

As you may need to respin this:

Assuming this is targeting net-next, which seems likely to me, the subject should denote that. Something like this:

[PATCH net-next] net: bridge: clean up one inconsistent indenting

Quoted 9 lines
---
 net/bridge/br_netlink_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/bridge/br_netlink_tunnel.c +0 -0
index 17abf092f7ca..eff949bfdd83 100644

net/bridge/br_netlink_tunnel.c int br_process_vlan_tunnel_info(const struct net_bridge *br, · line 319

Quoted 6 lines
net/bridge/br_netlink_tunnel.c +1 -1
@@ -315,7 +315,7 @@ int br_process_vlan_tunnel_info(const struct net_bridge *br,
 
 			if (curr_change)
 				*changed = curr_change;
-			 __vlan_tunnel_handle_range(p, &v_start, &v_end, v,
+			__vlan_tunnel_handle_range(p, &v_start, &v_end, v,
 						    curr_change);

I think you also need to adjust the line immediately above.

Quoted 5 lines
net/bridge/br_netlink_tunnel.c +0 -0
 		}
 		if (v_start && v_end)
Signature · 1 line
2.20.1.7.g153144c
#3 lore raw
Quoted 24 lines · Simon Horman
Quoted 5 lines · Yang Li

./net/bridge/br_netlink_tunnel.c:317:4-27: code aligned with following code on line 318

As you may need to respin this:

Assuming this is targeting net-next, which seems likely to me, the subject should denote that. Something like this:

[PATCH net-next] net: bridge: clean up one inconsistent indenting

Quoted 10 lines
---
  net/bridge/br_netlink_tunnel.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
net/bridge/br_netlink_tunnel.c +0 -0
index 17abf092f7ca..eff949bfdd83 100644
@@ -315,7 +315,7 @@ int br_process_vlan_tunnel_info(const struct net_bridge *br,
 
Quoted 7 lines

net/bridge/br_netlink_tunnel.c int br_process_vlan_tunnel_info(const struct net_bridge *br, · line 319

Quoted 5 lines
net/bridge/br_netlink_tunnel.c +1 -1
  			if (curr_change)
  				*changed = curr_change;
-			 __vlan_tunnel_handle_range(p, &v_start, &v_end, v,
+			__vlan_tunnel_handle_range(p, &v_start, &v_end, v,
  						    curr_change);

I think you also need to adjust the line immediately above.

You meant below, right? :) i.e. "curr_change)", that seems to get misaligned after the change and needs to be adjusted as well.

Quoted 6 lines
Quoted 6 lines
net/bridge/br_netlink_tunnel.c +0 -0
  		}
  		if (v_start && v_end)
Signature · 1 line
2.20.1.7.g153144c
#4 lore raw
Quoted 33 lines · Nikolay Aleksandrov
Quoted 18 lines · Simon Horman
Quoted 5 lines · Yang Li

./net/bridge/br_netlink_tunnel.c:317:4-27: code aligned with following code on line 318

As you may need to respin this:

Assuming this is targeting net-next, which seems likely to me, the subject should denote that. Something like this:

[PATCH net-next] net: bridge: clean up one inconsistent indenting

Quoted 4 lines

---
  net/bridge/br_netlink_tunnel.c | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines

net/bridge/br_netlink_tunnel.c int br_process_vlan_tunnel_info(const struct · line 319

Quoted 11 lines
net/bridge/br_netlink_tunnel.c +1 -1
index 17abf092f7ca..eff949bfdd83 100644
@@ -315,7 +315,7 @@ int br_process_vlan_tunnel_info(const struct 
 net_bridge *br,
               if (curr_change)
                   *changed = curr_change;
-             __vlan_tunnel_handle_range(p, &v_start, &v_end, v,
+            __vlan_tunnel_handle_range(p, &v_start, &v_end, v,
                               curr_change);

I think you also need to adjust the line immediately above.

Quoted 3 lines

You meant below, right? :) i.e. "curr_change)", that seems to get misaligned after the change and needs to be adjusted as well.

Oh I need coffee, I somehow was thinking about the line being changed instead of literally the line above your statement. :))

Anyway, ack.

Quoted 7 lines
Quoted 6 lines
Quoted 6 lines
net/bridge/br_netlink_tunnel.c +0 -0
           }
           if (v_start && v_end)
Signature · 1 line
2.20.1.7.g153144c
#5 lore raw
Quoted 36 lines · Nikolay Aleksandrov
Quoted 35 lines · Nikolay Aleksandrov
Quoted 33 lines · Simon Horman
Quoted 6 lines · Yang Li

./net/bridge/br_netlink_tunnel.c:317:4-27: code aligned with following code on line 318

As you may need to respin this:

Assuming this is targeting net-next, which seems likely to me, the subject should denote that. Something like this:

[PATCH net-next] net: bridge: clean up one inconsistent indenting

Quoted 10 lines

---
  net/bridge/br_netlink_tunnel.c | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
net/bridge/br_netlink_tunnel.c +0 -0
index 17abf092f7ca..eff949bfdd83 100644

net/bridge/br_netlink_tunnel.c int br_process_vlan_tunnel_info(const struct · line 319

Quoted 6 lines
net/bridge/br_netlink_tunnel.c +1 -1
@@ -315,7 +315,7 @@ int br_process_vlan_tunnel_info(const struct
 net_bridge *br,
               if (curr_change)
                   *changed = curr_change;
-             __vlan_tunnel_handle_range(p, &v_start, &v_end, v,
+            __vlan_tunnel_handle_range(p, &v_start, &v_end, v,
                               curr_change);

I think you also need to adjust the line immediately above.

Quoted 6 lines
Quoted 3 lines

You meant below, right? :) i.e. "curr_change)", that seems to get misaligned after the change and needs to be adjusted as well.

Oh I need coffee, I somehow was thinking about the line being changed instead of literally the line above your statement. :))

No problem. We are talking about the same line :)

Quoted 1 line

Anyway, ack.