Re: [PATCH] net: netcp: correct netcp_get_stats function signature

2017-01-10 Thread Keerthy
On Tuesday 10 January 2017 10:22 PM, David Miller wrote: From: Keerthy Date: Tue, 10 Jan 2017 16:56:25 +0530 @@ -1909,7 +1909,7 @@ static int netcp_setup_tc(struct net_device *dev, u32 handle, __be16 proto, return 0; } -static struct rtnl_link_stats64 * +void

Re: [PATCH] net: netcp: correct netcp_get_stats function signature

2017-01-10 Thread David Miller
From: Keerthy Date: Tue, 10 Jan 2017 16:56:25 +0530 > @@ -1909,7 +1909,7 @@ static int netcp_setup_tc(struct net_device *dev, u32 > handle, __be16 proto, > return 0; > } > > -static struct rtnl_link_stats64 * > +void > netcp_get_stats(struct net_device *ndev, struct

[PATCH] net: netcp: correct netcp_get_stats function signature

2017-01-10 Thread Keerthy
Commit: bc1f44709cf2 - net: make ndo_get_stats64 a void function and Commit: 6a8162e99ef3 - net: netcp: store network statistics in 64 bits. The commit 6a8162e99ef3 adds ndo_get_stats64 function as per old signature which causes compilation error: drivers/net/ethernet/ti/netcp_core.c:1951:28: