tipc: Eliminate improper use of TIPC_OK error code
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 15 Jul 2008 05:44:01 +0000 (22:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2008 05:44:01 +0000 (22:44 -0700)
commit0e35fd5e5264bb46d1febbe9cd9aa08421c21a96
tree984ea14bf1e691d02b3202abeff087ba4369bc44
parent2da59918e26837f305131cfac9c0f1b3b42bb8ae
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>
net/tipc/bcast.c
net/tipc/bearer.c
net/tipc/cluster.c
net/tipc/eth_media.c
net/tipc/link.c
net/tipc/net.c
net/tipc/port.c
net/tipc/ref.c
net/tipc/user_reg.c