commit | 67c2eef22e2b5cdc45dad51bb36277362c04bccc | [log] [tgz] |
---|---|---|
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Thu Apr 26 23:13:36 2018 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Fri Jul 27 10:40:16 2018 +0200 |
tree | 71c57a20156f710834252415c01df2c7bd4ada15 | |
parent | 038709071328ff68a936c6b8c33a24a805eea3c5 [diff] |
can: janz-ican3: fix ican3_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> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>