diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-04-24 15:15:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-26 10:20:30 +0200 |
commit | 72b6500c1cc68b949faa1bac76359dc601b482d6 (patch) | |
tree | b50b4e52b63aba96f838ad17e68523baeea01f1a /drivers/pci/dwc/pcie-kirin.c | |
parent | char: mspec: change return type to vm_fault_t (diff) | |
download | linux-72b6500c1cc68b949faa1bac76359dc601b482d6.tar.xz linux-72b6500c1cc68b949faa1bac76359dc601b482d6.zip |
sgi-xp: fix xpnet_dev_hard_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: Robin Holt <robinmholt@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/dwc/pcie-kirin.c')
0 files changed, 0 insertions, 0 deletions