Skip to contentSkip to conversation

Staging: rtl8192e: Fix arguments alignment

PATCH New Ana Carolina Hernandes 1 participant 1 message Aug 22, 2024 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: rtl8192e: Fix arguments alignment

Fix the alignment of arguments in function _rtl92e_query_rxphystatus in order to silence the following checkpatch warning:

CHECK: Lines should not end with a '('

---
Changes in v2:
- Put the ')' up one line

---
 .../staging/rtl8192e/rtl8192e/r8192E_dev.c    | 20 +++++++++----------
 1 file changed, 9 insertions(+), 11 deletions(-)
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +9 -11
index 66e3ae25ad47..b25e83743956 100644
@@ -1145,17 +1145,15 @@ static long _rtl92e_signal_scale_mapping(struct r8192_priv *priv, long currsig)
 			_pdrvinfo->RxRate == DESC90_RATE11M) &&\
 			!_pdrvinfo->RxHT)
 
-static void _rtl92e_query_rxphystatus(
-	struct r8192_priv *priv,
-	struct rtllib_rx_stats *pstats,
-	struct rx_desc  *pdesc,
-	struct rx_fwinfo   *pdrvinfo,
-	struct rtllib_rx_stats *precord_stats,
-	bool bpacket_match_bssid,
-	bool bpacket_toself,
-	bool bPacketBeacon,
-	bool bToSelfBA
-	)
+static void _rtl92e_query_rxphystatus(struct r8192_priv *priv,
+				      struct rtllib_rx_stats *pstats,
+				      struct rx_desc  *pdesc,
+				      struct rx_fwinfo   *pdrvinfo,
+				      struct rtllib_rx_stats *precord_stats,
+				      bool bpacket_match_bssid,
+				      bool bpacket_toself,
+				      bool bPacketBeacon,
+				      bool bToSelfBA)
 {
 	struct phy_sts_ofdm_819xpci *pofdm_buf;
 	struct phy_sts_cck_819xpci *pcck_buf;
Signature · 1 line
2.34.1