From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Wed, 8 Feb 2017 22:00:10 +0100 Several update suggestions were taken into account from static source code analysis. Markus Elfring (14): Use kcalloc() in cxio_create_qp() Rename jump labels in cxio_create_qp() Use kcalloc() in two functions Use common error handling code in recover_queues() Return an error code only as a constant in ep_open() Return an error code only as a constant in stag_open() Adjust three checks for null pointers Adjust construction of two error messages in recover_lost_dbs() Use common error handling code in recover_lost_dbs() Use kmalloc_array() in c4iw_id_table_alloc() Use kcalloc() in create_qp() Delete an unnecessary variable initialisation in create_qp() Rename jump labels in c4iw_create_qp() Rename jump labels in rdma_init() drivers/infiniband/hw/cxgb3/cxio_hal.c | 20 ++++---- drivers/infiniband/hw/cxgb4/device.c | 83 +++++++++++++++------------------- drivers/infiniband/hw/cxgb4/id_table.c | 5 +- drivers/infiniband/hw/cxgb4/qp.c | 48 ++++++++++---------- 4 files changed, 75 insertions(+), 81 deletions(-) -- 2.11.1 -- 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