OpenCloudOS-Kernel/drivers/net/caif
Luc Van Oostenryck b8fc70906b caif: fix cfv_netdev_tx()'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: David S. Miller <davem@davemloft.net>
2020-06-28 20:52:53 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
caif_hsi.c cail,hsi: fix cfhsi_xmit()'s return type 2020-06-28 20:52:52 -07:00
caif_serial.c caif: fix caif_xmit()'s return type 2020-06-28 20:52:52 -07:00
caif_spi.c caif: fix cfspi_xmit()'s return type 2020-06-28 20:52:52 -07:00
caif_spi_slave.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00
caif_virtio.c caif: fix cfv_netdev_tx()'s return type 2020-06-28 20:52:53 -07:00