Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mac80211_hwsim: use signed net namespace ID

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>

+1 -1
+1 -1
drivers/net/wireless/mac80211_hwsim.c
··· 250 250 cp->magic = 0; 251 251 } 252 252 253 - static unsigned int hwsim_net_id; 253 + static int hwsim_net_id; 254 254 255 255 static int hwsim_netgroup; 256 256