diff mbox series

net: wireless: ralink: rt2x00:

Message ID 3620e0bc76d3715cb8aecb0c7874390e@208suo.com
State New
Headers show
Series net: wireless: ralink: rt2x00: | expand

Commit Message

hanyu001@208suo.com July 21, 2023, 6:29 a.m. UTC
Fix checkpatch warnings:"foo* bar" should be "foo *bar"

./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@208suo.com>
---
  drivers/net/wireless/ralink/rt2x00/rt2x00.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

      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;
  }
diff mbox series

Patch

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)
  {