]> git.baikalelectronics.ru Git - kernel.git/commit
net: netcp: correct netcp_get_stats function signature
authorKeerthy <j-keerthy@ti.com>
Wed, 11 Jan 2017 03:33:29 +0000 (09:03 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jan 2017 15:48:21 +0000 (10:48 -0500)
commit2f04596fe605dc76047d18e112558acff326a909
tree76a998812f051fcffa58fbbfb9bffdfcdbb814fe
parent916c1632bbfdfba2fb57158833dd858b14e0ed43
net: netcp: correct netcp_get_stats function signature

Commit: a478a804f2f6 - net: make ndo_get_stats64 a void function
and
Commit: ab3eeb596026 - net: netcp: store network statistics in 64 bits.

The commit ab3eeb596026 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@ti.com>
Fixes: ab3eeb59602613a2 ("net: netcp: store network statistics in 64 bits")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_core.c