]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: use dma_zalloc_coherent()
authorXiang Chen <chenxiang66@hisilicon.com>
Fri, 23 Mar 2018 16:05:11 +0000 (00:05 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Apr 2018 23:32:51 +0000 (19:32 -0400)
commite1d2091831c0b738a1a7fc7e1ed6207ce6990d65
tree85447541a56e684f9ec8b36574e44e8e5354b3bb
parentb34f06ff29ae0ec28f08cfa8cf103bc5b35a895b
scsi: hisi_sas: use dma_zalloc_coherent()

This is a warning coming from Coccinelle, and need to use new interface
dma_zalloc_coherent() instead of dma_alloc_coherent()/memset().

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c