summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-09-18 09:09:43 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-19 06:01:25 +0300
commitc9c3941186c5637caed131c4f4064411d6882299 (patch)
tree057bf4344e54135515576b08a434076395c21c34 /drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
parent5391346e165b29ac02dac837258f2dfe5221b926 (diff)
downloadlinux-c9c3941186c5637caed131c4f4064411d6882299.tar.xz
net: hns3: 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, also the implementation in this driver has returns 'netdev_tx_t' value, so just 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/cavium/octeon/octeon_mgmt.c')
0 files changed, 0 insertions, 0 deletions