diff options
author | Steve Wise <swise@opengridcomputing.com> | 2018-05-14 20:12:26 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-05-16 00:14:25 +0200 |
commit | 1ea62e816407987fc27a1bb2d011ea6d81338933 (patch) | |
tree | 56e15b6bf2fe4b968f168c4f026df157fdb3434d /drivers/infiniband/hw/cxgb4/restrack.c | |
parent | RDMA/uapi: Fix uapi breakage (diff) | |
download | linux-1ea62e816407987fc27a1bb2d011ea6d81338933.tar.xz linux-1ea62e816407987fc27a1bb2d011ea6d81338933.zip |
iw_cxgb4: fix uninitialized variable warnings
Fixes: 056f9c7f39bf ("iw_cxgb4: dump detailed driver-specific QP information")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/restrack.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/restrack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb4/restrack.c b/drivers/infiniband/hw/cxgb4/restrack.c index a677940b164a..8d1106befc5c 100644 --- a/drivers/infiniband/hw/cxgb4/restrack.c +++ b/drivers/infiniband/hw/cxgb4/restrack.c @@ -174,10 +174,10 @@ static int fill_res_qp_entry(struct sk_buff *msg, struct t4_swsqe *fsp = NULL, *lsp = NULL; struct t4_swrqe *frp = NULL, *lrp = NULL; struct c4iw_qp *qhp = to_c4iw_qp(ibqp); + u16 first_sq_idx = 0, last_sq_idx = 0; + u16 first_rq_idx = 0, last_rq_idx = 0; struct t4_swsqe first_sqe, last_sqe; struct t4_swrqe first_rqe, last_rqe; - u16 first_sq_idx, last_sq_idx; - u16 first_rq_idx, last_rq_idx; struct nlattr *table_attr; struct t4_wq wq; |