[<prev] [next>] [day] [month] [year] [list]
Message-ID: <3620e0bc76d3715cb8aecb0c7874390e@208suo.com>
Date: Fri, 21 Jul 2023 14:29:21 +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:
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@...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