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

From: Matthew R. Ochs
Date: Sat Oct 24 2015 - 23:26:45 EST


> 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-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/