Skip to contentSkip to conversation

staging: wfx: alignment should match open parenthesis

PATCH In review Payal Kshirsagar 2 participants 2 messages Mar 9, 2020 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wfx: alignment should match open parenthesis

Align code to open parenthesis.

---
 drivers/staging/wfx/data_tx.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wfx/data_tx.c +3 -3
index 8b0c52392319..0038dc7666cf 100644
@@ -301,8 +301,8 @@ static void wfx_tx_manage_pm(struct wfx_vif *wvif, struct ieee80211_hdr *hdr,
 }
 
 static u8 wfx_tx_get_raw_link_id(struct wfx_vif *wvif,
-				      struct ieee80211_sta *sta,
-				      struct ieee80211_hdr *hdr)
+				 struct ieee80211_sta *sta,
+				 struct ieee80211_hdr *hdr)
 {
 	struct wfx_sta_priv *sta_priv =
 		sta ? (struct wfx_sta_priv *) &sta->drv_priv : NULL;
@@ -369,7 +369,7 @@ static void wfx_tx_fixup_rates(struct ieee80211_tx_rate *rates)
 }
 
 static u8 wfx_tx_get_rate_id(struct wfx_vif *wvif,
-				  struct ieee80211_tx_info *tx_info)
+			     struct ieee80211_tx_info *tx_info)
 {
 	bool tx_policy_renew = false;
 	u8 rate_id;
Signature · 1 line
2.17.1
#1 lore raw
Quoted 33 lines · On Monday 9 March 2020 17:45:15 CET Payal Kshirsagar wrote:

Align code to open parenthesis.

---
 drivers/staging/wfx/data_tx.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wfx/data_tx.c +3 -4
index 8b0c52392319..0038dc7666cf 100644
@@ -301,8 +301,8 @@ static void wfx_tx_manage_pm(struct wfx_vif *wvif, struct ieee80211_hdr *hdr,
 }
 
 static u8 wfx_tx_get_raw_link_id(struct wfx_vif *wvif,
-                                     struct ieee80211_sta *sta,
-                                     struct ieee80211_hdr *hdr)
+                                struct ieee80211_sta *sta,
+                                struct ieee80211_hdr *hdr)
 {
        struct wfx_sta_priv *sta_priv =
                sta ? (struct wfx_sta_priv *) &sta->drv_priv : NULL;
@@ -369,7 +369,7 @@ static void wfx_tx_fixup_rates(struct ieee80211_tx_rate *rates)
 }
 
 static u8 wfx_tx_get_rate_id(struct wfx_vif *wvif,
-                                 struct ieee80211_tx_info *tx_info)
+                            struct ieee80211_tx_info *tx_info)
 {
        bool tx_policy_renew = false;
        u8 rate_id;
--
Quoted 2 lines

2.17.1

Hello Payal,

Thank you for your contribution.

A similar patch has already been submitted a few weeks ago:
https://lkml.org/lkml/2020/2/23/208

Joe Perches has suggested that the patch should address all parenthesis alignments:
https://lkml.org/lkml/2020/2/24/653

Signature · 1 line
Jérôme Pouiller