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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <18520fa625b8a901314c65bb8e557091@208suo.com>
Date:   Fri, 21 Jul 2023 14:34:38 +0800
From:   hanyu001@...suo.com
To:     stf_xl@...pl, helmut.schaa@...glemail.com, kvalo@...nel.org
Cc:     linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] net: wireless: ralink: rt2x00: "foo* bar" should be "foo
 *bar"

Fix checkpatch warnings:

./drivers/net/wireless/ralink/rt2x00/rt2x00.h:386: ERROR: "foo* bar" 
should be "foo *bar"
./drivers/net/wireless/ralink/rt2x00/rt2x00.h:513: ERROR: "foo* bar" 
should be "foo *bar"

Signed-off-by: Yu Han <hanyu001@...suo.com>
---
  drivers/net/wireless/ralink/rt2x00/rt2x00.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00.h 
b/drivers/net/wireless/ralink/rt2x00/rt2x00.h
index 07a6a5a..c883d7f 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00.h
@@ -383,7 +383,7 @@ struct rt2x00_intf {
      atomic_t seqno;
  };

-static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif 
*vif)
+static inline struct rt2x00_intf *vif_to_intf(struct ieee80211_vif 
*vif)
  {
      return (struct rt2x00_intf *)vif->drv_priv;
  }
@@ -510,7 +510,7 @@ struct rt2x00_sta {
      int wcid;
  };

-static inline struct rt2x00_sta* sta_to_rt2x00_sta(struct ieee80211_sta 
*sta)
+static inline struct rt2x00_sta *sta_to_rt2x00_sta(struct ieee80211_sta 
*sta)
  {
      return (struct rt2x00_sta *)sta->drv_priv;
  }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ