commit | 81de0cd60fd492575b24d97667f38b8b833fb058 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed Sep 26 18:32:29 2018 +0800 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Nov 28 16:19:52 2018 +0100 |
tree | 1067f7febe4f6d59ae8adeb834e69b6a2f48c059 | |
parent | 3b17d4175414baefaaf59948b5e0bc030cc3d943 [diff] |
can: xilinx: 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: Marc Kleine-Budde <mkl@pengutronix.de>