aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/neterion/s2io.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-09-18 14:19:05 +0800
committerDavid S. Miller <davem@davemloft.net>2018-09-18 20:02:29 -0700
commitac1172dea10b6ba51de9346d3130db688b5196c5 (patch)
treed930d2a5ca8e1545ff3f38083acb4f8b46b57530 /drivers/net/ethernet/neterion/s2io.c
parentnet: hns3: fix return type of ndo_start_xmit function (diff)
downloadlinux-dev-ac1172dea10b6ba51de9346d3130db688b5196c5.tar.xz
linux-dev-ac1172dea10b6ba51de9346d3130db688b5196c5.zip
net: cavium: fix return type of ndo_start_xmit function
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, so make sure the implementation in this driver has returns 'netdev_tx_t' value, and change the function return type to netdev_tx_t. Found by coccinelle. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/neterion/s2io.c')
0 files changed, 0 insertions, 0 deletions