[PATCH] bonding: fix indentation issues, remove extra spaces

Subsystems: bonding driver, networking drivers, the rest

STALE2822d

2 messages, 2 authors, 2018-12-18 · open the first message on its own page

[PATCH] bonding: fix indentation issues, remove extra spaces

From: Colin King <hidden>
Date: 2018-12-16 13:33:21

From: Colin Ian King <redacted>

There are two statements that are indented too much by one space each,
fix these.

Signed-off-by: Colin Ian King <redacted>
---
 drivers/net/bonding/bond_3ad.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c
index 93dfcef8afc4..7c46d9f4fefd 100644
--- a/drivers/net/bonding/bond_3ad.c
+++ b/drivers/net/bonding/bond_3ad.c
@@ -1220,7 +1220,7 @@ static void ad_churn_machine(struct port *port)
 		port->sm_churn_partner_state = AD_CHURN_MONITOR;
 		port->sm_churn_actor_timer_counter =
 			__ad_timer_to_ticks(AD_ACTOR_CHURN_TIMER, 0);
-		 port->sm_churn_partner_timer_counter =
+		port->sm_churn_partner_timer_counter =
 			 __ad_timer_to_ticks(AD_PARTNER_CHURN_TIMER, 0);
 		return;
 	}
@@ -2128,7 +2128,7 @@ void bond_3ad_unbind_slave(struct slave *slave)
 				if ((new_aggregator->lag_ports == port) &&
 				    new_aggregator->is_active) {
 					netdev_info(bond->dev, "Removing an active aggregator\n");
-					 select_new_active_agg = 1;
+					select_new_active_agg = 1;
 				}
 
 				new_aggregator->is_individual = aggregator->is_individual;
-- 
2.19.1

Re: [PATCH] bonding: fix indentation issues, remove extra spaces

From: David Miller <davem@davemloft.net>
Date: 2018-12-18 23:08:02

From: Colin King <redacted>
Date: Sun, 16 Dec 2018 13:33:15 +0000
From: Colin Ian King <redacted>

There are two statements that are indented too much by one space each,
fix these.

Signed-off-by: Colin Ian King <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help