OpenCloudOS-Kernel/drivers/net/ethernet/wiznet
YueHaibing f0f25516e3 net: wiznet: 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>
2018-09-21 19:15:15 -07:00
..
Kconfig net: w5100: support W5500 2016-04-27 21:55:45 -04:00
Makefile net: w5100: support SPI interface mode 2016-04-16 18:30:27 -04:00
w5100-spi.c net: w5100-spi: add support to specify MAC address by device tree 2016-05-16 13:55:49 -04:00
w5100.c net: wiznet: fix return type of ndo_start_xmit function 2018-09-21 19:15:15 -07:00
w5100.h net: w5100-spi: add support to specify MAC address by device tree 2016-05-16 13:55:49 -04:00
w5300.c net: wiznet: fix return type of ndo_start_xmit function 2018-09-21 19:15:15 -07:00