lpfc: use dma_zalloc_coherent
authorJoe Perches <joe@perches.com>
Wed, 3 Sep 2014 16:56:12 +0000 (12:56 -0400)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:10:06 +0000 (09:10 -0700)
commit1aee383d5912de15af3045a63a07e98f760f041c
tree6e58b144d1354008d497e3cd0003e9cb6e69e090
parent9ab9b134a86ed9f897a29d2ba5abb93f7b162dca
lpfc: use dma_zalloc_coherent

Use the zeroing function instead of dma_alloc_coherent & memset(,0,)

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: James Smart <james.smart@emulex.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_mbox.c
drivers/scsi/lpfc/lpfc_sli.c