We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06e472a commit d347a95Copy full SHA for d347a95
drivers/scsi/mpi3mr/mpi3mr_fw.c
@@ -3633,8 +3633,7 @@ int mpi3mr_setup_resources(struct mpi3mr_ioc *mrioc)
3633
int i, retval = 0, capb = 0;
3634
u16 message_control;
3635
u64 dma_mask = mrioc->dma_mask ? mrioc->dma_mask :
3636
- (((dma_get_required_mask(&pdev->dev) > DMA_BIT_MASK(32)) &&
3637
- (sizeof(dma_addr_t) > 4)) ? DMA_BIT_MASK(64) : DMA_BIT_MASK(32));
+ ((sizeof(dma_addr_t) > 4) ? DMA_BIT_MASK(64) : DMA_BIT_MASK(32));
3638
3639
if (pci_enable_device_mem(pdev)) {
3640
ioc_err(mrioc, "pci_enable_device_mem: failed\n");
0 commit comments