commit | bacade822524e02f662d88f784d2ae821a5546fb | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed Sep 19 18:23:39 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 19 21:17:58 2018 -0700 |
tree | 4b0892ad55581093295195fef1422e352f4295e8 | |
parent | f03508ce3f9650148262c176e0178413e16c902b [diff] |
net: toshiba: 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>