From: Jon Paul Maloy Date: Thu, 26 Jun 2014 01:41:31 +0000 (-0500) Subject: tipc: use negative error return values in functions X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~255^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4de5fab806f74622600ab7fd6ed22b7f911a8c5;p=pandora-kernel.git 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 Reviewed-by: Erik Hugne Reviewed-by: Ying Xue Signed-off-by: David S. Miller --- Reading git-diff-tree failed