Skip to contentSkip to conversation

staging: speakup: wilc1000: Align the code

PATCH Superseded Tamara Diaconita 3 participants 3 messages Mar 7, 2017 – Mar 9, 2017 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: speakup: wilc1000: Align the code

Deleted tabs and added spaces to align the code.

Fixed the checkpath.pl issue:
CHECK: Aligment should match open paranthesis.

---
 drivers/staging/wilc1000/linux_wlan.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/wilc1000/linux_wlan.c +4 -4
index 2eebc62..c65c5e8 100644
@@ -870,12 +870,12 @@ static int wilc_mac_open(struct net_device *ndev)
 				if (memcmp(wl->vif[i ^ 1]->bssid,
 					   wl->vif[i ^ 1]->src_addr, 6))
 					wilc_set_wfi_drv_handler(vif,
-							 wilc_get_vif_idx(vif),
-							 0);
+								 wilc_get_vif_idx(vif),
+								 0);
 				else
 					wilc_set_wfi_drv_handler(vif,
-							 wilc_get_vif_idx(vif),
-							 1);
+								 wilc_get_vif_idx(vif),
+								 1);
 			}
 			wilc_set_operation_mode(vif, vif->iftype);
 
Signature · 1 line
2.9.3
#1 lore raw
Quoted 1 line · Tamara Diaconita

Deleted tabs and added spaces to align the code.

Deleted -> Delete
Added -> Add

julia

Quoted 40 lines

Fixed the checkpath.pl issue:
CHECK: Aligment should match open paranthesis.

---
 drivers/staging/wilc1000/linux_wlan.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/wilc1000/linux_wlan.c +4 -5
index 2eebc62..c65c5e8 100644
@@ -870,12 +870,12 @@ static int wilc_mac_open(struct net_device *ndev)
 				if (memcmp(wl->vif[i ^ 1]->bssid,
 					   wl->vif[i ^ 1]->src_addr, 6))
 					wilc_set_wfi_drv_handler(vif,
-							 wilc_get_vif_idx(vif),
-							 0);
+								 wilc_get_vif_idx(vif),
+								 0);
 				else
 					wilc_set_wfi_drv_handler(vif,
-							 wilc_get_vif_idx(vif),
-							 1);
+								 wilc_get_vif_idx(vif),
+								 1);
 			}
 			wilc_set_operation_mode(vif, vif->iftype);
 
--

2.9.3

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170307221709.5489-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

maintainer
#2 lore raw
In reply to Tamara Diaconita
Quoted 9 lines · Tamara Diaconita

Deleted tabs and added spaces to align the code.

Fixed the checkpath.pl issue:
CHECK: Aligment should match open paranthesis.

---
 drivers/staging/wilc1000/linux_wlan.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

This patch has nothing to do with "speakup" :(

thanks,

greg k-h