linux/drivers/staging/cxt1e1
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
..
comet_tables.c staging: cxt1e1: Add extern keyword for sparse 'static' warning 2014-03-04 16:35:37 -08:00
comet_tables.h
comet.c Staging: cxt1e1: Fix externs should be avoided in .c files in comet.c 2014-03-19 09:17:23 -07:00
comet.h staging: cxt1e1: remove typedef comet_t 2013-11-10 08:05:15 -08:00
functions.c staging: ctx1e1: remove checks for three macros 2014-05-26 20:19:26 -07:00
hwprobe.c staging: cxt1e1: Avoid using 0 instead of NULL 2014-04-26 08:42:54 -07:00
Kconfig
libsbew.h staging: cxt1e1: Fix space prohibited between function name and open parenthesis 2014-03-16 22:04:48 -07:00
linux.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
Makefile staging: cxt1e1: removed version string declaration 2014-03-06 11:58:32 -08:00
musycc.c staging: ctx1e1: remove checks for three macros 2014-05-26 20:19:26 -07:00
musycc.h
pmc93x6_eeprom.c STAGING: cxt1e1: Remove curly braces 2014-04-18 15:58:32 -07:00
pmc93x6_eeprom.h
pmcc4_cpld.h
pmcc4_defs.h
pmcc4_drv.c staging: cxt1e1: replace OS_kmalloc/OS_kfree with kzalloc/kfree 2014-04-18 15:58:55 -07:00
pmcc4_ioctls.h
pmcc4_private.h staging: cxt1e1: hwprobe: fix incorrect type in assignment 2014-04-18 15:58:30 -07:00
pmcc4_sysdep.h Staging: cxt1e1: Fix externs should be avoided in .c files in comet.c 2014-03-19 09:17:23 -07:00
pmcc4.h staging: cxt1e1: remove unnecessary function, VMETRO_TRACE 2014-02-07 10:44:30 -08:00
sbe_bid.h
sbe_promformat.h
sbecom_inline_linux.h staging: cxt1e1: replace OS_kmalloc/OS_kfree with kzalloc/kfree 2014-04-18 15:58:55 -07:00
sbecrc.c staging: cxt1e1: replace OS_kmalloc/OS_kfree with kzalloc/kfree 2014-04-18 15:58:55 -07:00
sbeid.c Drivers: Staging: cxt1e1: stbeid: Fixed whitespace between function and parameters 2013-11-19 15:34:51 -08:00
sbeproc.c staging: cxt1e1: replace OS_kmalloc/OS_kfree with kzalloc/kfree 2014-04-18 15:58:55 -07:00
sbeproc.h Staging/cxt1e1:Fixing foo * bar should be foo *bar 2013-05-22 15:28:30 -07:00
sbew_ioc.h Staging:cxt1e1: Fixes whitespace around commas in sbew_ioc.h 2013-10-11 13:09:57 -07:00