scsi: lpfc: Cocci spatch "pool_zalloc-simple"
authorThomas Meyer <thomas@m3y3r.de>
Thu, 21 Sep 2017 06:15:26 +0000 (08:15 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 25 Sep 2017 23:05:38 +0000 (19:05 -0400)
commitdf2f7729f23fdab923c913302051997561e1ef07
treec81816472b6a2e8a032a989b12360daf9c9d144a
parent2930f817132959254db801fe19e61c477293ad6b
scsi: lpfc: Cocci spatch "pool_zalloc-simple"

Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0.
Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvme.c