]> git.baikalelectronics.ru Git - kernel.git/commit
net: ovs: fix return type of ndo_start_xmit function
authorYueHaibing <yuehaibing@huawei.com>
Wed, 26 Sep 2018 09:15:38 +0000 (17:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2018 17:25:11 +0000 (10:25 -0700)
commit745330603eb13f73486a4c3d9e3bc3fb1c753b6d
tree2d9a65f6b442bc2f69d7193e2daa1afe50066d69
parent2cd85b23fc28476c091db296779de5835a2654f4
net: ovs: 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>
net/openvswitch/vport-internal_dev.c