projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7736f5
)
mac80211_hwsim: use signed net namespace ID
author
Johannes Berg
<johannes.berg@intel.com>
Wed, 6 Jul 2016 12:47:49 +0000
(14:47 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 6 Jul 2016 12:48:37 +0000
(14:48 +0200)
The API expects a pointer to a signed int so we should not use an
unsigned int for it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mac80211_hwsim.c
b/drivers/net/wireless/mac80211_hwsim.c
index 97196c4e2836ef58049b0e447dbef65931175911..337794f9506ec6922e7391c9ba2ec994337d2bb6 100644
(file)
--- a/
drivers/net/wireless/mac80211_hwsim.c
+++ b/
drivers/net/wireless/mac80211_hwsim.c
@@
-250,7
+250,7
@@
static inline void hwsim_clear_chanctx_magic(struct ieee80211_chanctx_conf *c)
cp->magic = 0;
}
-static
unsigned
int hwsim_net_id;
+static int hwsim_net_id;
static int hwsim_netgroup;