bonding: replace the return value type
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Fri, 11 May 2018 09:53:10 +0000 (02:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2018 20:08:44 +0000 (16:08 -0400)
commitdbdc8a21759959af2c4a702cacbb94f9b1864e73
treebcb79494317b637c277094d2ce8931572b7790ad
parentd5db21a3e6977dcb42cee3d16cd69901fa66510a
bonding: replace the return value type

The method ndo_start_xmit is defined as returning a
netdev_tx_t, which is a typedef for an enum type,
but the implementation in this driver returns an int.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_main.c