Re: [PATCH v2] net: netcp: correct netcp_get_stats function signature
From: David Miller
Date: Wed Jan 11 2017 - 10:48:51 EST
From: Keerthy <j-keerthy@xxxxxx>
Date: Wed, 11 Jan 2017 09:03:29 +0530
> 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: error:
> initialization from incompatible pointer type
> .ndo_get_stats64 = netcp_get_stats,
>
> Hence correct netcp_get_stats function signature as per
> the latest definition.
>
> Signed-off-by: Keerthy <j-keerthy@xxxxxx>
> Fixes: 6a8162e99ef344fc("net: netcp: store network statistics in 64 bits")
Applied, thanks.