Re: [PATCH] mptlan: fix mpt_lan_sdu_send()'s return type

From: Martin K. Petersen
Date: Tue May 08 2018 - 01:22:10 EST



Luc,

> 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'.

You forgot to update the function prototype accordingly.

--
Martin K. Petersen Oracle Linux Engineering