commit | 80b15043e3450e730d30b71c099ab00d75a551ce | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyj.lk@gmail.com> | Fri Jun 21 11:24:27 2013 +0800 |
committer | Roland Dreier <roland@purestorage.com> | Mon Jun 24 13:52:22 2013 -0700 |
tree | 49e9af32bad895b76c64711ec6d5274fe4c34cdb | |
parent | f29fa1cf340e21085672ccfeb6d66f292208567e [diff] |
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Roland Dreier <roland@purestorage.com>