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

2015-10-25 Thread punit vara
On Sat, Oct 24, 2015 at 4:56 AM, Matthew R. Ochs wrote: > Hi Punit, > > Aren't you missing the removal of the memset() as part of this conversion? > > > -matt > >> On Oct 23, 2015, at 3:03 PM, Punit Vara wrote: >> >> This patch is to the lpfc_els.c which resolves following warning >> reported by

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

2015-10-23 Thread Matthew R. Ochs
Hi Punit, Aren't you missing the removal of the memset() as part of this conversion? -matt > On Oct 23, 2015, at 3:03 PM, Punit Vara wrote: > > This patch is to the lpfc_els.c which resolves following warning > reported by coccicheck: > > WARNING: kzalloc should be used for rdp_context, inst

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

2015-10-23 Thread Punit Vara
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 --- drivers/scsi/lpfc/lpfc_els.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv