myrb: don't use GFP_DMA in myrb_pdev_slave_alloc
Subsystems (2)
PATCH 1/1 myrb: don't use GFP_DMA in myrb_pdev_slave_alloc
The driver doesn't express DMA addressing limitation under 32-bits anywhere else, so remove the spurious GFP_DMA allocation.
Signed-off-by Christoph Hellwig <[email protected]>
--- drivers/scsi/myrb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/myrb.c +1 -1
@@ -1674,7 +1674,7 @@ static int myrb_pdev_slave_alloc(struct scsi_device *sdev)if (sdev->id >MYRB_MAX_TARGETS )return -ENXIO ; - pdev_info =kzalloc (sizeof (*pdev_info),GFP_KERNEL |GFP_DMA ); + pdev_info =kzalloc (sizeof (*pdev_info),GFP_KERNEL );if (!pdev_info)return -ENOMEM ;
Signature · 1 line
2.30.2
Martin K. Petersen
AppliedChristoph,
Quoted 2 lines
The driver doesn't express DMA addressing limitation under 32-bits anywhere else, so remove the spurious
GFP_DMAallocation.
Applied to 5.17/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering