commit | 06983aa526c759ebdf43f202d8d0491d9494e2f4 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Fri Sep 21 10:50:32 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 21 19:12:13 2018 -0700 |
tree | 86a603e483516555f93f8fc40fa20cb2e4ca9356 | |
parent | 2b49117a5abee8478b0470cba46ac74f93b4a479 [diff] |
net: freescale: 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>