Re: [PATCH] net: sh-eth: fix sh_eth_start_xmit()'s return type
From: Geert Uytterhoeven
Date: Tue Apr 24 2018 - 10:49:12 EST
On Tue, Apr 24, 2018 at 3:17 PM, Luc Van Oostenryck
> 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@xxxxxxxxx>
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds