[PATCH] net: gemini: fix gmac_start_xmit()'s return type

Linus Walleij linus.walleij at linaro.org
Mon Apr 30 02:17:19 PDT 2018


On Tue, Apr 24, 2018 at 3:16 PM, Luc Van Oostenryck
<luc.vanoostenryck at gmail.com> wrote:

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

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Thanks for fixing this!
Linus Walleij



More information about the linux-arm-kernel mailing list