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

From: Keerthy
Date: Tue Jan 10 2017 - 22:29:17 EST




On Tuesday 10 January 2017 10:22 PM, David Miller wrote:
From: Keerthy <j-keerthy@xxxxxx>
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 rtnl_link_stats64 *stats)

Please do not remove the static qualifier.

Sure. I will add that back.