diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-04-26 23:13:38 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-07-27 10:40:16 +0200 |
commit | 97f2a5893ca539bfc308c8abf0a36d678305c854 (patch) | |
tree | 2bc95102a055f274dd60f0d0b63aa28d5c2f6d66 /.clang-format | |
parent | can: sun4i: fix sun4ican_start_xmit()'s return type (diff) | |
download | linux-dev-97f2a5893ca539bfc308c8abf0a36d678305c854.tar.xz linux-dev-97f2a5893ca539bfc308c8abf0a36d678305c854.zip |
can: xilinx: fix xcan_start_xmit()'s return type
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t',
which is a typedef for an enum type, but the implementation in this
driver returns an 'int'.
Fix this by returning 'netdev_tx_t' in this driver too.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions