]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: fix ixgbevf_xmit_frame()'s return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 24 Apr 2018 13:16:48 +0000 (15:16 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 11 May 2018 19:18:35 +0000 (12:18 -0700)
commit90a6d645c35bfb6b8ec3569eb083f1dc0a24e721
treef6521a74b35daa5f2e91ef9fe7a9a564f31cdd63
parente1cc723165c027f741291f9e789b15a220815a6b
ixgbevf: fix ixgbevf_xmit_frame()'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>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c