scsi: mpt3sas: Don't change the DMA coherent mask after allocations
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Apr 2020 07:23:12 +0000 (03:23 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 24 Apr 2020 17:08:15 +0000 (13:08 -0400)
commitba27c5cf286df03a98fcdc6800b99c35e3cbdd2f
tree0a780fb0c883a9bcd296975cfef149dfb35e5662
parentbc834e074e36262d62a9e26742ed5a5246a469eb
scsi: mpt3sas: Don't change the DMA coherent mask after allocations

The DMA layer does not allow changing the DMA coherent mask after there are
outstanding allocations.

Link: https://lore.kernel.org/r/1587626596-1044-2-git-send-email-suganath-prabu.subramani@broadcom.com
Reported-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Suganath Prabu <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.h