summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2016-09-06 18:36:19 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-14 19:54:18 +0300
commita6f2c7fff90a6fe7a31e764a21b65a809fafa765 (patch)
tree6867b78c86a632969ce1b5cb2dc74df0809deb11 /scripts/objdiff
parent09fe9ecb18a7add9b05928151998692d96338e41 (diff)
downloadlinux-a6f2c7fff90a6fe7a31e764a21b65a809fafa765.tar.xz
scsi: hisi_sas: set dma mask before allocate DMA memory
The device DMA mask was being set after the bulk of the DMA allocations in the driver init, so potentially DMA allocates fail. To resolve, relocate before allocating the DMA memory when initialising the driver. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions