summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/toshiba/spider_net.c
diff options
context:
space:
mode:
authorYueHaibing2018-09-19 12:19:26 +0200
committerDavid S. Miller2018-09-20 06:17:58 +0200
commitf03508ce3f9650148262c176e0178413e16c902b (patch)
tree670ab20f7d3faf97fda63c908f1c6ccb982cbc50 /drivers/net/ethernet/toshiba/spider_net.c
parentMerge branch 'phylink-ensure-the-carrier-is-off-when-starting-phylink' (diff)
downloadkernel-qcow2-linux-f03508ce3f9650148262c176e0178413e16c902b.tar.gz
kernel-qcow2-linux-f03508ce3f9650148262c176e0178413e16c902b.tar.xz
kernel-qcow2-linux-f03508ce3f9650148262c176e0178413e16c902b.zip
net: marvell: 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/toshiba/spider_net.c')
0 files changed, 0 insertions, 0 deletions