Re: [PATCH 00/14] RDMA/cxgb: Fine-tuning for several function implementations

From: Doug Ledford
Date: Wed Apr 05 2017 - 14:19:08 EST


On Wed, 2017-02-08 at 22:10 +0100, SF Markus Elfring wrote:
> 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(-)

I didn't see enough value in this series to bother picking it up.
ÂSteve, if there are any patches out of this series you actually want,
please collect them and forward them on to me.

--
Doug Ledford <dledford@xxxxxxxxxx>
  GPG KeyID: B826A3330E572FDD
 Â
Key fingerprint = AE6B 1BDA 122B 23B4 265B Â1274 B826 A333 0E57 2FDD