]> asedeno.scripts.mit.edu Git - linux.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)
commitcf12aab67a2fb29342d833a6333a322aaccca2d0
treef6521a74b35daa5f2e91ef9fe7a9a564f31cdd63
parentbbb2707623f3ccc48695da2433f06d7c38193451
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