]> git.baikalelectronics.ru Git - kernel.git/commit
net: seeq: fix return type of ndo_start_xmit function
authorYueHaibing <yuehaibing@huawei.com>
Fri, 21 Sep 2018 02:53:47 +0000 (10:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 02:15:14 +0000 (19:15 -0700)
commit3dd7946678fa485d2fd0a4cea703c73e8ad6fd6a
treefe1bc45278028c4f9fcf48b4381cf7cfd1d8d009
parent92a94c3076ca6d60f3a6ca388dc08a8d59177569
net: seeq: fix return type of ndo_start_xmit function

The method ndo_start_xmit() is defined as returning an 'netdev_tx_t',
which is a typedef for an enum type, so make sure the implementation in
this driver has returns 'netdev_tx_t' value, and change the function
return type to netdev_tx_t.

Found by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/seeq/ether3.c
drivers/net/ethernet/seeq/sgiseeq.c