diff options
| author | Christoph Hellwig <[email protected]> | 2021-12-22 09:22:47 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-12-23 04:44:12 +0000 |
| commit | 657b44d651eb284443d62895d9d47897729ef35a (patch) | |
| tree | a4a93cb62cc931213296ada025bef5f0df6144f5 /drivers/scsi/pmcraid.c | |
| parent | scsi: snic: Don't use GFP_DMA in snic_queue_report_tgt_req() (diff) | |
| download | kernel-657b44d651eb284443d62895d9d47897729ef35a.tar.gz kernel-657b44d651eb284443d62895d9d47897729ef35a.zip | |
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/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
| -rw-r--r-- | drivers/scsi/pmcraid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index 2fe7a0019fff..928532180d32 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c @@ -3221,8 +3221,8 @@ static struct pmcraid_sglist *pmcraid_alloc_sglist(int buflen) return NULL; sglist->order = order; - sgl_alloc_order(buflen, order, false, - GFP_KERNEL | GFP_DMA | __GFP_ZERO, &sglist->num_sg); + sgl_alloc_order(buflen, order, false, GFP_KERNEL | __GFP_ZERO, + &sglist->num_sg); return sglist; } |
