linux/drivers/media/dvb-core
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
..
demux.h [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
dmxdev.c dmxdev: get rid of pointless clearing ->f_op 2013-10-24 23:34:53 -04:00
dmxdev.h [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
dvb_ca_en50221.c [media] dvb: unlock on error in dvb_ca_en50221_io_do_ioctl() 2013-01-06 10:44:45 -02:00
dvb_ca_en50221.h
dvb_demux.c [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
dvb_demux.h [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
dvb_filter.c
dvb_filter.h
dvb_frontend.c [media] dvb_frontend: Fix possible read out of bounds 2014-03-12 10:21:09 -03:00
dvb_frontend.h [media] tuner-core/simple: get_rf_strength can be tuner mode specific 2013-04-14 19:44:50 -03:00
dvb_math.c
dvb_math.h
dvb_net.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
dvb_net.h [media] dvb: push down ioctl lock in dvb_usercopy 2012-12-27 15:44:21 -02:00
dvb_ringbuffer.c
dvb_ringbuffer.h
dvb-usb-ids.h [media] az6027: Added the PID for a new revision of the Elgato EyeTV Sat DVB-S Tuner 2014-05-25 15:49:35 -03:00
dvbdev.c consolidate the reassignments of ->f_op in ->open() instances 2013-10-24 23:34:53 -04:00
dvbdev.h
Kconfig
Makefile