summaryrefslogtreecommitdiffstats
path: root/net/tipc/msg.c
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2014-06-25 20:41:31 -0500
committerDavid S. Miller <davem@davemloft.net>2014-06-27 12:50:54 -0700
commite4de5fab806f74622600ab7fd6ed22b7f911a8c5 (patch)
tree8027f61c6b6df7617e03fea860b3a803aa60c0a1 /net/tipc/msg.c
parent3d09fc424406b5610964507b3eb73cebbc3b4c38 (diff)
downloadlinux-e4de5fab806f74622600ab7fd6ed22b7f911a8c5.tar.bz2
tipc: use negative error return values in functions
In some places, TIPC functions returns positive integers as return codes. This goes against standard Linux coding practice, and may even cause problems in some cases. We now change the return values of the functions filter_rcv() and filter_connect() to become signed integers, and return negative error codes when needed. The codes we use in these particular cases are still TIPC specific, since they are both part of the TIPC API and have no correspondence in errno.h Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/msg.c')
0 files changed, 0 insertions, 0 deletions