linux/drivers/staging/gdm72xx
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
..
gdm_qos.c staging: gdm72xx: code cleanup 2014-05-24 07:23:15 +09:00
gdm_qos.h staging: gdm72xx: Removed commented-out code 2014-05-16 12:12:52 -07:00
gdm_sdio.c staging: gdm72xx: code cleanup 2014-05-24 07:23:15 +09:00
gdm_sdio.h staging: gdm72xx: Indentation and other whitespace fixes 2014-05-16 12:12:52 -07:00
gdm_usb.c staging: gdm72xx: code cleanup 2014-05-24 07:23:15 +09:00
gdm_usb.h staging: gdm72xx: Indentation and other whitespace fixes 2014-05-16 12:12:52 -07:00
gdm_wimax.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
gdm_wimax.h staging: gdm72xx: Indentation and other whitespace fixes 2014-05-16 12:12:52 -07:00
hci.h staging: gdm72xx: Indentation and other whitespace fixes 2014-05-16 12:12:52 -07:00
Kconfig staging: gdm72xx: fix typos in Kconfig 2013-06-05 15:31:16 -07:00
Makefile
netlink_k.c staging: gdm72xx: code cleanup 2014-05-24 07:23:15 +09:00
netlink_k.h staging: gdm72xx: Whitespace fixes to conform to coding standards 2014-05-16 12:12:52 -07:00
sdio_boot.c staging: gdm72xx: Replace comparisons on jiffies values with wrap-safe functions 2014-05-16 12:12:51 -07:00
sdio_boot.h staging: gdm72xx: Remove unnecessary extern declarations from header files 2014-05-16 12:12:51 -07:00
TODO staging: gdm72xx: Remove task from TODO list 2014-05-16 12:12:52 -07:00
usb_boot.c staging: gdm72xx: code cleanup 2014-05-24 07:23:15 +09:00
usb_boot.h staging: gdm72xx: Remove unnecessary extern declarations from header files 2014-05-16 12:12:51 -07:00
usb_ids.h staging: gdm72xx: Indentation and other whitespace fixes 2014-05-16 12:12:52 -07:00
wm_ioctl.h staging: gdm72xx: Indentation and other whitespace fixes 2014-05-16 12:12:52 -07:00