[PATCH 00/26] InfiniBand-OCRDMA: Fine-tuning for several function implementations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Mar 2017 13:14:56 +0100

Several update suggestions were taken into account
from static source code analysis.

Markus Elfring (26):
  Use kcalloc() in ocrdma_create_eqs()
  Use kcalloc() in ocrdma_mbx_alloc_pd_range()
  Improve size determinations in ocrdma_mbx_get_dcbx_config()
  Delete unnecessary variable initialisations in ocrdma_mbx_get_dcbx_config()
  Improve another size determination in ocrdma_mbx_query_qp()
  Improve another size determination in ocrdma_alloc_pd_pool()
  Improve another size determination in ocrdma_mbx_get_ctrl_attribs()
  Improve size determinations in ocrdma_mbx_rdma_stats()
  Improve another size determination in ocrdma_mq_cq_handler()
  Improve another size determination in ocrdma_init_emb_mqe()
  Delete unnecessary braces
  Adjust ten checks for null pointers
  Use kcalloc() in ocrdma_alloc_resources()
  Improve another size determination in ocrdma_add()
  Delete an error message for a failed memory allocation in ocrdma_add()
  Adjust a null pointer check in ocrdma_alloc_resources()
  Use kmalloc_array() in ocrdma_create_srq()
  Use kcalloc() in three functions
  Improve another size determination in ocrdma_alloc_mr()
  Delete an unnecessary variable assignment in ocrdma_alloc_mr()
  Improve another size determination in ocrdma_create_srq()
  Returning only value constants in ocrdma_resize_cq()
  Delete an unnecessary variable in ocrdma_dealloc_pd()
  One jump label less in ocrdma_alloc_ucontext_pd()
  Delete unnecessary braces
  Adjust further ten checks for null pointers

 drivers/infiniband/hw/ocrdma/ocrdma_hw.c    |  88 ++++++++++-----------
 drivers/infiniband/hw/ocrdma/ocrdma_main.c  |  19 +++--
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 118 ++++++++++++----------------
 3 files changed, 100 insertions(+), 125 deletions(-)

-- 
2.12.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux