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

From: Luc Van Oostenryck
Date: Tue May 08 2018 - 11:44:26 EST


On Tue, May 08, 2018 at 01:21:56AM -0400, Martin K. Petersen wrote:
>
> 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.

Hmmm, the function mpt_lan_sdu_send() has no other declaration
than the one I modified the return type in this patch.

Must be a misunderstanding somewhere.

-- Luc