linux-sg2042/drivers/infiniband/hw
Colin Ian King 38759d6175 RDMA/hns: ensure for-loop actually iterates and free's buffers
The current for-loop zeros variable i and only loops once, hence
not all the buffers are free'd.  Fix this by setting i correctly.

Detected by CoverityScan, CID#1463415 ("Operands don't affect result")

Fixes: a5073d6054 ("RDMA/hns: Add eq support of hip08")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-03-27 15:06:34 -06:00
..
bnxt_re infiniband: bnxt_re: use BIT_ULL() for 64-bit bit masks 2018-03-14 18:24:13 -04:00
cxgb3 Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
cxgb4 iw_cxgb4: Change error/warn prints to pr_debug 2017-12-29 11:09:23 -07:00
hfi1 vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
hns RDMA/hns: ensure for-loop actually iterates and free's buffers 2018-03-27 15:06:34 -06:00
i40iw i40iw: Free IEQ resources 2018-01-16 20:38:18 -07:00
mlx4 IB/mlx4: Include GID type when deleting GIDs from HW table under RoCE 2018-03-06 20:08:38 -07:00
mlx5 IB/mlx5: Don't clean uninitialized UMR resources 2018-03-21 14:22:22 -06:00
mthca IB/mthca: remove mthca_user.h 2018-01-28 14:07:16 -07:00
nes nes: Change accelerated flag to bool 2017-12-22 13:33:30 -07:00
ocrdma IB/ocrdma: Use zeroing memory allocator than allocator/memset 2018-01-02 11:20:13 -07:00
qedr RDMA/qedr: Fix QP state initialization race 2018-03-21 14:38:41 -06:00
qib vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
usnic drivers: infiniband: remove duplicate includes 2017-12-22 09:39:35 -07:00
vmw_pvrdma RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file 2018-02-15 15:31:28 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00