commit | c9bdad3c819cf63e2acea9994d2a60f23f1b7dd5 | [log] [tgz] |
---|---|---|
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | Thu Mar 28 18:17:20 2013 +0000 |
committer | Roland Dreier <roland@purestorage.com> | Tue Apr 16 23:04:36 2013 -0700 |
tree | fa33fd93b1aa47ed904f52e0c13f36e058a19846 | |
parent | 137200a4bb74c6d3c13a8eea1edd617a15fdf3e2 [diff] |
IB/qib: Correct qib_verbs_register_sysfs() error handling qib_verbs_register_sysfs() never cleans up from a failure. Additionally, the caller of qib_verbs_register_sysfs() doesn't return the correct "ret" value. This patch resolves both of those issues. Reported-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Reviewed-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>