linux_dsm_epyc7002/drivers/infiniband/hw
Mike Marciniszyn c9bdad3c81 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>
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 IB/qib: Correct qib_verbs_register_sysfs() error handling 2013-04-16 23:04:36 -07:00