OpenCloudOS-Kernel/drivers/net/wireless
Tom Gundersen c835a67733 net: set name_assign_type in alloc_netdev()
Extend alloc_netdev{,_mq{,s}}() to take name_assign_type as argument, and convert
all users to pass NET_NAME_UNKNOWN.

Coccinelle patch:

@@
expression sizeof_priv, name, setup, txqs, rxqs, count;
@@

(
-alloc_netdev_mqs(sizeof_priv, name, setup, txqs, rxqs)
+alloc_netdev_mqs(sizeof_priv, name, NET_NAME_UNKNOWN, setup, txqs, rxqs)
|
-alloc_netdev_mq(sizeof_priv, name, setup, count)
+alloc_netdev_mq(sizeof_priv, name, NET_NAME_UNKNOWN, setup, count)
|
-alloc_netdev(sizeof_priv, name, setup)
+alloc_netdev(sizeof_priv, name, NET_NAME_UNKNOWN, setup)
)

v9: move comments here from the wrong commit

Signed-off-by: Tom Gundersen <teg@jklm.no>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-15 16:12:48 -07:00
..
ath net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
b43 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2014-07-10 17:00:24 -04:00
b43legacy net: Replace min macro with min_t 2014-03-03 15:35:54 -05:00
brcm80211 net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
cw1200 Merge git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2014-06-25 15:26:36 -04:00
hostap net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ipw2x00 drivers/net/wireless/ipw2x00/libipw_module.c: remove unnecessary null test before kfree 2014-07-01 14:26:26 -04:00
iwlegacy mac80211: support more than one band in scan request 2014-06-25 09:10:42 +02:00
iwlwifi iwlwifi: mvm: minor fix in comment 2014-07-07 21:41:25 +03:00
libertas net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
libertas_tf
mwifiex net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
orinoco orinoco_usb: remove unnecessary break after goto 2014-07-13 23:45:24 -07:00
p54 p54: use request_firmware_direct() for optional EEPROM override 2014-06-25 15:40:40 -04:00
prism54 net: Replace min macro with min_t 2014-03-03 15:35:54 -05:00
rsi rsi: fix memory leaks and error handling in rsi_91x_usb 2014-07-01 14:26:26 -04:00
rt2x00 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2014-07-10 17:00:24 -04:00
rtl818x rtl818x_pci: fix pci probe returns success when it fails 2014-07-01 14:26:27 -04:00
rtlwifi rtlwifi: remove unnecessary break after goto 2014-07-13 23:45:24 -07:00
ti mac80211: split sched scan IEs 2014-06-25 09:10:43 +02:00
zd1211rw
Kconfig rsi: Add RS9113 wireless driver 2014-03-17 13:51:52 -04:00
Makefile rsi: Add RS9113 wireless driver 2014-03-17 13:51:52 -04:00
adm8211.c
adm8211.h
airo.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
airo.h
airo_cs.c
at76c50x-usb.c mac80211: support more than one band in scan request 2014-06-25 09:10:42 +02:00
at76c50x-usb.h at76c50x: fix scan does not work with latest mac80211 2014-06-05 14:15:08 -04:00
atmel.c atmel: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:11:13 -05:00
atmel.h
atmel_cs.c
atmel_pci.c
mac80211_hwsim.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
mac80211_hwsim.h
mwl8k.c mwl8k: mwl8k_update_survey can be static 2014-03-06 14:29:58 -05:00
ray_cs.c ray_cs: replace del_timer by del_timer_sync 2014-04-22 15:06:28 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c cfg80211: constify MAC addresses in cfg80211 ops 2014-05-19 17:34:42 +02:00
wl3501.h
wl3501_cs.c wl3501_cs: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:12:36 -05:00
zd1201.c zd1201: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} 2014-02-28 14:12:36 -05:00
zd1201.h