]> 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)
commit16dc7554517b9dfb7f17ae6e47bfe6baba1ff64d
treebcb79494317b637c277094d2ce8931572b7790ad
parent0c5e1bb756cac4a5852c424f1a3b0b314acfd8ba
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