tipc: Eliminate improper use of TIPC_OK error code
This patch corrects many places where TIPC routines indicated successful completion by returning TIPC_OK instead of 0. (The TIPC_OK symbol has the value 0, but it should only be used in contexts that deal with the error code field of a TIPC message header.) Signed-off-by:Allan Stephens <allan.stephens@windriver.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- net/tipc/bcast.c 5 additions, 5 deletionsnet/tipc/bcast.c
- net/tipc/bearer.c 4 additions, 4 deletionsnet/tipc/bearer.c
- net/tipc/cluster.c 1 addition, 1 deletionnet/tipc/cluster.c
- net/tipc/eth_media.c 3 additions, 3 deletionsnet/tipc/eth_media.c
- net/tipc/link.c 9 additions, 9 deletionsnet/tipc/link.c
- net/tipc/net.c 2 additions, 2 deletionsnet/tipc/net.c
- net/tipc/port.c 17 additions, 17 deletionsnet/tipc/port.c
- net/tipc/ref.c 1 addition, 1 deletionnet/tipc/ref.c
- net/tipc/user_reg.c 7 additions, 7 deletionsnet/tipc/user_reg.c
Loading
Please register or sign in to comment