linux_old1/drivers/infiniband/hw
Mike Marciniszyn 137200a4bb IB/ipath: Correct ipath_verbs_register_sysfs() error handling
ipath_verbs_register_sysfs() never returned the correct error
code from device_create_file and never cleaned up from a failure.
Additionally, the caller of ipath_verbs_register_sysfs() doesn't
return the correct "ret" value.

This patch resolves all of these 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>
2013-04-16 23:04:36 -07:00
..
amso1100 IB/amso1100: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
cxgb3 IB/cxgb3: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
cxgb4 Small batch of InfiniBand/RDMA fixes for 3.9: 2013-03-25 09:44:40 -07:00
ehca IB/ehca: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
ipath IB/ipath: Correct ipath_verbs_register_sysfs() error handling 2013-04-16 23:04:36 -07:00
mlx4 mlx4: remove leftover idr_pre_get() call 2013-03-13 15:21:46 -07:00
mthca Drivers: infinband: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
nes Main batch of InfiniBand/RDMA changes for 3.9: 2013-02-26 11:41:08 -08:00
ocrdma IB/ocrdma: convert to idr_alloc() 2013-02-27 19:10:17 -08:00
qib firmware,IB/qib: revert firmware file move 2013-04-05 12:19:39 -07:00