alistair23-linux/drivers/infiniband/hw
Prarit Bhargava bc1b04ab34 RDMA/ocrdma: Fix compiler warning
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c: In function ‘_ocrdma_modify_qp’:
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:1299:31: error: ‘old_qps’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  status = ocrdma_mbx_modify_qp(dev, qp, attr, attr_mask, old_qps);

ocrdma_mbx_modify_qp() (and subsequent calls) doesn't appear to use old_qps
so it doesn't need to be passed on.  Removing the variable results in the
warning going away.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Acked-by: Devesh Sharma (Devesh.sharma@emulex.com)
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-03-17 16:34:13 -07:00
..
amso1100 RDMA/amso1100: Fix error return code 2014-02-12 11:11:46 -08:00
cxgb3
cxgb4 RDMA/cxgb4: Add missing neigh_release in LE-Workaround path 2014-02-13 14:46:40 -08:00
ehca IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
ipath IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
mlx4 Merge branches 'cma', 'cxgb4', 'iser', 'misc', 'mlx4', 'mlx5', 'nes', 'ocrdma', 'qib' and 'usnic' into for-next 2014-02-14 09:49:12 -08:00
mlx5 IB/mlx5: Remove dependency on X86 2014-02-13 20:48:02 -08:00
mthca IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
nes RDMA/nes: Fix error return code 2014-02-12 11:11:09 -08:00
ocrdma RDMA/ocrdma: Fix compiler warning 2014-03-17 16:34:13 -07:00
qib IB/qib: Add missing serdes init sequence 2014-02-13 14:52:44 -08:00
usnic IB/usnic: Fix smatch endianness error 2014-02-14 09:47:29 -08:00