Skip to contentSkip to conversation

staging: rtl8192e: Fix parenthesis alignment in rtl_core.c

PATCH In review Gabriel Tassinari 2 participants 2 messages Aug 29, 2024 – Aug 30, 2024 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 staging: rtl8192e: Fix parenthesis alignment in rtl_core.c

fix parenthesis alignment in _rtl92e_qos_handle_probe_response to silence checkpatch warning:

CHECK: Alignment should match open parenthesis

---
v4: Remove line number from subject
v3: Adjust the indentation by adding one space
v2: Include the modified file in commit message

---
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
index ad21263e725f..75192041008d 100644
@@ -322,7 +322,7 @@ static int _rtl92e_qos_handle_probe_response(struct r8192_priv *priv,
 
 	if (network->flags & NETWORK_HAS_QOS_MASK) {
 		if (active_network &&
-				(network->flags & NETWORK_HAS_QOS_PARAMETERS))
+		    (network->flags & NETWORK_HAS_QOS_PARAMETERS))
 			network->qos_data.active = network->qos_data.supported;
 
 		if ((network->qos_data.active == 1) && (active_network == 1) &&
Signature · 1 line
2.46.0
Tested-by on v4 1/1
#1 lore raw
Quoted 19 lines · Gabriel Tassinari

fix parenthesis alignment in _rtl92e_qos_handle_probe_response to silence checkpatch warning:

CHECK: Alignment should match open parenthesis

---
v4: Remove line number from subject
v3: Adjust the indentation by adding one space
v2: Include the modified file in commit message

---
  drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +0 -0
index ad21263e725f..75192041008d 100644

drivers/staging/rtl8192e/rtl8192e/rtl_core.c static int _rtl92e_qos_handle_probe_response(struct r8192_priv *priv, · line 328

Quoted 8 lines
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
@@ -322,7 +322,7 @@ static int _rtl92e_qos_handle_probe_response(struct r8192_priv *priv,
 
  	if (network->flags & NETWORK_HAS_QOS_MASK) {
  		if (active_network &&
-				(network->flags & NETWORK_HAS_QOS_PARAMETERS))
+		    (network->flags & NETWORK_HAS_QOS_PARAMETERS))
  			network->qos_data.active = network->qos_data.supported;
 
  		if ((network->qos_data.active == 1) && (active_network == 1) &&