Re: [PATCH v8 1/4] net: add name_assign_type netdev attribute

From: David Miller
Date: Fri Jul 11 2014 - 15:23:11 EST


From: Tom Gundersen <teg@xxxxxxx>
Date: Thu, 10 Jul 2014 23:01:03 +0200

> diff --git a/net/core/dev.c b/net/core/dev.c
> index 30eedf6..392c784 100644
> --- a/net/core/dev.c
> +++ b/net/core/dev.c
> @@ -6438,11 +6438,12 @@ void netdev_freemem(struct net_device *dev)
>
> /**
> * alloc_netdev_mqs - allocate network device
> - * @sizeof_priv: size of private data to allocate space for
> - * @name: device name format string
> - * @setup: callback to initialize device
> - * @txqs: the number of TX subqueues to allocate
> - * @rxqs: the number of RX subqueues to allocate
> + * @sizeof_priv: size of private data to allocate space for
> + * @name: device name format string
> + * @name_assign_type: origin of device name
> + * @setup: callback to initialize device
> + * @txqs: the number of TX subqueues to allocate
> + * @rxqs: the number of RX subqueues to allocate
> *
> * Allocates a struct net_device with private data area for driver use
> * and performs basic initialization. Also allocates subqueue structs

This belongs in patch #3, where you actually change the arguments to
this interface, not here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/