]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cxgb4: Restore the dropped uninitialized_var
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 10 Jul 2018 19:03:16 +0000 (13:03 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 11 Jul 2018 02:58:28 +0000 (20:58 -0600)
commitf8d5a75ad9389be6ed7d2513d3ec1d4c82376019
treef57db593345ba2ae6d98a324e5418c143113b7a3
parent3dd4ba8aff0d17d6a234736a629d3477b0811af0
RDMA/cxgb4: Restore the dropped uninitialized_var

In some configurations even gcc 7 cannot unravel this complexity and still
throws a warning.

Fixes: 2286a031167e ("RDMA/cxgb4: Make c4iw_poll_cq_one() easier to analyze")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/cq.c