WSL2-Linux-Kernel/drivers/net/ethernet/synopsys
Luc Van Oostenryck 673d8eb6cf net: dwc-xlgmac: fix xlgmac_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: 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
dwc-xlgmac-common.c net: dwc-xlgmac: Get rid of custom hex_dump_to_buffer() 2017-12-21 15:05:33 -05:00
dwc-xlgmac-desc.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
dwc-xlgmac-ethtool.c net: dwc-xlgmac: let core reject the unsupported coalescing parameters 2020-03-17 20:56:57 -07:00
dwc-xlgmac-hw.c net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
dwc-xlgmac-net.c net: dwc-xlgmac: fix xlgmac_xmit()'s return type 2020-06-28 20:52:53 -07:00
dwc-xlgmac-pci.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
dwc-xlgmac-reg.h net: dwc-xlgmac: declaration of dual license in headers 2017-03-23 17:04:14 -07:00
dwc-xlgmac.h net: dwc-xlgmac: add the initial ethtool support 2017-04-13 13:46:38 -04:00