Re: [PATCH 0/5] IB/qib: Fine-tuning for four function implementations

From: Dennis Dalessandro
Date: Wed Apr 05 2017 - 20:38:15 EST


On 04/05/2017 09:50 AM, SF Markus Elfring wrote:
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Apr 2017 15:34:32 +0200

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

Markus Elfring (5):
Use kcalloc() in qib_init_iba7322_funcs()
Use kmalloc_array() in qib_init_7322_variables()
Use kcalloc() in qib_alloc_devdata()
Use kcalloc() in qib_init_pportdata()
Adjust two size determinations in qib_init_pportdata()

drivers/infiniband/hw/qib/qib_iba7322.c | 20 ++++++++++++--------
drivers/infiniband/hw/qib/qib_init.c | 27 +++++++++++++--------------
2 files changed, 25 insertions(+), 22 deletions(-)


Doug,

I haven't reviewed these in detail yet but seems be along the lines of the patchset you decided not to take for cxgb [1]. I recommend not picking this up either. If something in here catches our eye Mike or I one will Ack it.

[1] http://marc.info/?l=linux-rdma&m=149141638506039&w=2

-Denny