scsi: efct: Don't pass GFP_DMA to dma_alloc_coherent()
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Dec 2021 16:36:05 +0000 (17:36 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Dec 2021 03:52:29 +0000 (22:52 -0500)
commitefac162a4e4dc4cebcc658e02676821ca834b56c
treeb892968c432da4eaf548259a588a3ea3fc972ff5
parent99c66a8868e33522ebc6fd8a99e32f0d544a014f
scsi: efct: Don't pass GFP_DMA to dma_alloc_coherent()

dma_alloc_coherent() ignores the zone specifiers so this is pointless and
confusing.

Link: https://lore.kernel.org/r/20211214163605.416288-1-hch@lst.de
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/elx/efct/efct_driver.c
drivers/scsi/elx/efct/efct_hw.c
drivers/scsi/elx/efct/efct_io.c
drivers/scsi/elx/libefc/efc_cmds.c
drivers/scsi/elx/libefc/efc_els.c
drivers/scsi/elx/libefc_sli/sli4.c