mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
scsi: initio: Don't use GFP_DMA in initio_probe_one()
The driver doesn't express DMA addressing limitation under 32-bits anywhere else, so remove the spurious GFP_DMA allocation. Link: https://lore.kernel.org/r/20211222091630.922788-1-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
d94d94969a
commit
c981e9e0f8
@ -2847,7 +2847,8 @@ static int initio_probe_one(struct pci_dev *pdev,
|
||||
|
||||
for (; num_scb >= MAX_TARGETS + 3; num_scb--) {
|
||||
i = num_scb * sizeof(struct scsi_ctrl_blk);
|
||||
if ((scb = kzalloc(i, GFP_DMA)) != NULL)
|
||||
scb = kzalloc(i, GFP_KERNEL);
|
||||
if (scb)
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user