commit | 94b2bb28dbb43fcb943d5275ab19fd5a4972bedb | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Tue Sep 18 14:35:47 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 18 20:03:37 2018 -0700 |
tree | f8dd66e645c8799199cb3c75c5394da5eaa04b00 | |
parent | ac1172dea10b6ba51de9346d3130db688b5196c5 [diff] |
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>