[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1388663867.22017.13.camel@deadeye.wl.decadent.org.uk>
Date: Thu, 2 Jan 2014 11:57:47 +0000
From: Ben Hutchings <bhutchings@...arflare.com>
To: Sabrina Dubroca <sd@...asysnail.net>
CC: <davem@...emloft.net>, <johannes@...solutions.net>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH 4/5] alx: add alx_get_stats operation
On Thu, 2014-01-02 at 00:40 +0100, Sabrina Dubroca wrote:
[...]
> --- a/drivers/net/ethernet/atheros/alx/main.c
> +++ b/drivers/net/ethernet/atheros/alx/main.c
> @@ -1166,10 +1166,54 @@ static void alx_poll_controller(struct net_device *netdev)
> }
> #endif
>
> +static struct net_device_stats *alx_get_stats(struct net_device *netdev)
[...]
> static const struct net_device_ops alx_netdev_ops = {
> .ndo_open = alx_open,
> .ndo_stop = alx_stop,
> .ndo_start_xmit = alx_start_xmit,
> + .ndo_get_stats = alx_get_stats,
[...]
You should implement ndo_get_stats64 rather than ndo_get_stats.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists