Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: pmcraid: Don't use GFP_DMA in pmcraid_alloc_sglist()

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/20211222092247.928711-1-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Christoph Hellwig and committed by
Martin K. Petersen
657b44d6 1964777e

+2 -2
+2 -2
drivers/scsi/pmcraid.c
··· 3221 3221 return NULL; 3222 3222 3223 3223 sglist->order = order; 3224 - sgl_alloc_order(buflen, order, false, 3225 - GFP_KERNEL | GFP_DMA | __GFP_ZERO, &sglist->num_sg); 3224 + sgl_alloc_order(buflen, order, false, GFP_KERNEL | __GFP_ZERO, 3225 + &sglist->num_sg); 3226 3226 3227 3227 return sglist; 3228 3228 }