Re: [PATCH v2 1/2] scsi: lpfc: Use kzalloc instead of kmalloc

From: James Smart
Date: Wed Dec 16 2015 - 18:21:02 EST


fyi - this patch was just pushed in our 11.0.0.10 patch set - patch 16/17

-- james s



On 10/24/2015 8:25 PM, Matthew R. Ochs wrote:
On Oct 24, 2015, at 2:06 AM, Punit Vara <punitvara@xxxxxxxxx> wrote:

This patch is to the lpfc_els.c which resolves following warning
reported by coccicheck:

WARNING: kzalloc should be used for rdp_context, instead of
kmalloc/memset

Signed-off-by: Punit Vara <punitvara@xxxxxxxxx>
Reviewed-by: Matthew R. Ochs <mrochs@xxxxxxxxxxxxxxxxxx>

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

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