Skip to contentSkip to conversation

staging: rtl8192e: move logical continuation to previous line

PATCH In review Santha Meena Ramamoorthy 2 participants 2 messages Feb 28, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: rtl8192e: move logical continuation to previous line

Move logical continuation '&&' to the previous line to conform to the Linux kernel coding style. Issue found using checkpatch.

---
Change in v2:
- Match alignment with the appropriate open parenthesis.

 drivers/staging/rtl8192e/rtllib_rx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8192e/rtllib_rx.c +2 -2
index 30f72d2..fa580ce 100644
@@ -2644,8 +2644,8 @@ static inline void rtllib_process_probe_response(
 	   (network->ssid_len ? 1 : 0))) {
 		update_network(ieee, &ieee->current_network, network);
 		if ((ieee->current_network.mode == IEEE_N_24G ||
-		     ieee->current_network.mode == IEEE_G)
-		     && ieee->current_network.berp_info_valid) {
+		     ieee->current_network.mode == IEEE_G) &&
+		    ieee->current_network.berp_info_valid) {
 			if (ieee->current_network.erp_value & ERP_UseProtection)
 				ieee->current_network.buseprotection = true;
 			else
Signature · 1 line
2.7.4
Acked-by on v2 1/1
#1 lore raw
Quoted 4 lines · Santha Meena Ramamoorthy

Move logical continuation '&&' to the previous line to conform to the Linux kernel coding style. Issue found using checkpatch.

Quoted 32 lines

---
Change in v2:
- Match alignment with the appropriate open parenthesis.

 drivers/staging/rtl8192e/rtllib_rx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8192e/rtllib_rx.c +2 -3
index 30f72d2..fa580ce 100644
@@ -2644,8 +2644,8 @@ static inline void rtllib_process_probe_response(
 	   (network->ssid_len ? 1 : 0))) {
 		update_network(ieee, &ieee->current_network, network);
 		if ((ieee->current_network.mode == IEEE_N_24G ||
-		     ieee->current_network.mode == IEEE_G)
-		     && ieee->current_network.berp_info_valid) {
+		     ieee->current_network.mode == IEEE_G) &&
+		    ieee->current_network.berp_info_valid) {
 			if (ieee->current_network.erp_value & ERP_UseProtection)
 				ieee->current_network.buseprotection = true;
 			else
--

2.7.4

--
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/1519850448-21871-1-git-send-email-santhameena13%40gmail.com.
For more options, visit https://groups.google.com/d/optout.