scsi: mpt3sas: Remove usage of dma_get_required_mask() API
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Fri, 28 Oct 2022 09:16:55 +0000 (14:46 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 17 Nov 2022 18:01:11 +0000 (18:01 +0000)
commit06e472acf964649a58b7de35fc9cdc3151acb970
treef3e6a9ab2e551920aa38b206cfb22206c0939ff0
parent094226ad94f471a9f19e8f8e7140a09c2625abaa
scsi: mpt3sas: Remove usage of dma_get_required_mask() API

Remove the usage of dma_get_required_mask() API.  Directly set the DMA mask
to 63/64 if the system is a 64bit machine.

Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Link: https://lore.kernel.org/r/20221028091655.17741-2-sreekanth.reddy@broadcom.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c