]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccb6136497973f80c277e0ae1d85fb86d597febe
treebcb79494317b637c277094d2ce8931572b7790ad
parent740ae0747f1b71048748f2aca5454383a9957515
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