Re: [PATCH] staging: ks7010: fix ks_wlan_start_xmit()'s return type
From: Greg Kroah-Hartman
Date: Wed Apr 25 2018 - 09:50:57 EST
On Tue, Apr 24, 2018 at 03:18:21PM +0200, Luc Van Oostenryck 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@xxxxxxxxx>
> ---
> drivers/staging/ks7010/ks_wlan_net.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Patch does not apply to my tree, please rebase and resend.
thanks,
greg k-h