tty: n_gsm: fix gsm_mux_net_start_xmit()'s return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 24 Apr 2018 13:18:39 +0000 (15:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 12:56:12 +0000 (14:56 +0200)
commit2468b3e4aa7b2a45443c43fced850965ee8118bd
tree5c0ce7beff7392349bafca303ddeba1c7bd7102f
parent700ad5531b9e90d5442867b389c92aa599e183e4
tty: n_gsm: fix gsm_mux_net_start_xmit()'s return type

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@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_gsm.c