mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mac80211: Variable type completion
@ 2022-08-16 18:10 Xin Gao
  0 siblings, 0 replies; only message in thread
From: Xin Gao @ 2022-08-16 18:10 UTC (permalink / raw)
  To: johannes, davem, edumazet, kuba, pabeni
  Cc: linux-wireless, netdev, linux-kernel, Xin Gao

'unsigned int' is better than 'unsigned'.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
 net/mac80211/ibss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index 14c04fd48b7a..16fe69deb40b 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -1349,7 +1349,7 @@ static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)
 				  capability, 0, true);
 }
 
-static unsigned ibss_setup_channels(struct wiphy *wiphy,
+static unsigned int ibss_setup_channels(struct wiphy *wiphy,
 				    struct ieee80211_channel **channels,
 				    unsigned int channels_max,
 				    u32 center_freq, u32 width)
-- 
2.30.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-16 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16 18:10 [PATCH] mac80211: Variable type completion Xin Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®