lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 17 Jul 2023 15:53:25 +0800
From:   hanyu001@...suo.com
To:     toke@...e.dk, kvalo@...nel.org
Cc:     linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] ath: ath9k: add space before the open parenthesis '('

This patch fixes the checkpatch.pl error:

drivers/net/wireless/ath/ath9k/xmit.c: ERROR: space required before the 
open parenthesis '('

Signed-off-by: maqimei <2433033762@...com>
---
  drivers/net/wireless/ath/ath9k/xmit.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/xmit.c 
b/drivers/net/wireless/ath/ath9k/xmit.c
index f6f2ab7..72f9593 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -717,7 +717,7 @@ static void ath_tx_count_airtime(struct ath_softc 
*sc,
      int i;

      airtime += ts->duration * (ts->ts_longretry + 1);
-    for(i = 0; i < ts->ts_rateindex; i++) {
+    for (i = 0; i < ts->ts_rateindex; i++) {
          int rate_dur = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, 
i);
          airtime += rate_dur * bf->rates[i].count;
      }
@@ -2437,7 +2437,7 @@ void ath_tx_cabq(struct ieee80211_hw *hw, struct 
ieee80211_vif *vif,
              break;

          skb = ieee80211_get_buffered_bc(hw, vif);
-    } while(skb);
+    } while (skb);

      if (skb)
          ieee80211_free_txskb(hw, skb);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ