staging: wfx: alignment should match open parenthesis
PATCH 1/1 staging: wfx: alignment should match open parenthesis
Align code to open parenthesis.
Signed-off-by Payal Kshirsagar <[email protected]>
--- drivers/staging/wfx/data_tx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wfx/data_tx.c +3 -3
@@ -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
Quoted 33 lines · On Monday 9 March 2020 17:45:15 CET Payal Kshirsagar wrote:
Align code to open parenthesis.
Signed-off-by Payal Kshirsagar <[email protected]>--- drivers/staging/wfx/data_tx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/staging/wfx/data_tx.c +3
-4@@ -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