]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64eb1b7808e4e43e58d571bcffa0584f3b72e7ca
tree6e58b144d1354008d497e3cd0003e9cb6e69e090
parent39d401724ab57e1c737256af9ae9a363427dade4
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