lpfc: Use kzalloc instead of kmalloc
authorPunit Vara <punitvara@gmail.com>
Wed, 16 Dec 2015 23:12:07 +0000 (18:12 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 22 Dec 2015 03:08:15 +0000 (22:08 -0500)
commit699acd6220ea5b20b25d5eec0ab448827d745357
tree128b9c56feefa096f2d3c60f2a58de5aa2e12be5
parent9be321819c43417432a8376428b90fe3fe3a3510
lpfc: Use kzalloc instead of kmalloc

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@gmail.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Reviewed-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c