]> git.baikalelectronics.ru Git - kernel.git/commit
net: ibm: fix return type of ndo_start_xmit function
authorYueHaibing <yuehaibing@huawei.com>
Tue, 18 Sep 2018 06:35:47 +0000 (14:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Sep 2018 03:03:37 +0000 (20:03 -0700)
commite52551cd6d9a8f36d58f07bd91cf3ec5f859036e
treef8dd66e645c8799199cb3c75c5394da5eaa04b00
parent801133022faacfba6156127eb2b8f58f869e860e
net: ibm: 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>
drivers/net/ethernet/ibm/ehea/ehea_main.c
drivers/net/ethernet/ibm/emac/core.c
drivers/net/ethernet/ibm/ibmvnic.c