From: Wei Yongjun Date: Fri, 21 Jun 2013 03:24:27 +0000 (+0800) Subject: IB/core: Fix error return code in add_port() X-Git-Tag: v3.11-rc1~16^2~1^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b15043e3450e730d30b71c099ab00d75a551ce;p=pandora-kernel.git IB/core: Fix error return code in add_port() Fix to return -ENOMEM in the add_port() error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun Signed-off-by: Roland Dreier --- Reading git-diff-tree failed