[Intel-wired-lan] [PATCH] net: ixgbevf: fix ixgbevf_xmit_frame()'s return type

Bowers, AndrewX andrewx.bowers at intel.com
Wed Apr 25 19:03:54 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Luc Van Oostenryck
> Sent: Tuesday, April 24, 2018 6:17 AM
> To: linux-kernel at vger.kernel.org
> Cc: netdev at vger.kernel.org; intel-wired-lan at lists.osuosl.org; Luc Van
> Oostenryck <luc.vanoostenryck at gmail.com>
> Subject: [Intel-wired-lan] [PATCH] net: 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 at gmail.com>
> ---
>  drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list