]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit003e168e099449e0f64f50ce2c50ff94cc16f6b3
treec81816472b6a2e8a032a989b12360daf9c9d144a
parentda478e97c8451ddea3f4346b1155d5d01b8ed3c5
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