1. 03 4月, 2014 3 次提交
  2. 18 3月, 2014 1 次提交
    • P
      RDMA/ocrdma: Fix compiler warning · bc1b04ab
      Prarit Bhargava 提交于
      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: NPrarit Bhargava <prarit@redhat.com>
      Acked-by: Devesh Sharma (Devesh.sharma@emulex.com)
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      bc1b04ab
  3. 24 2月, 2014 10 次提交
  4. 23 2月, 2014 9 次提交
  5. 22 2月, 2014 17 次提交