diff options
author | Hannes Reinecke <hare@suse.de> | 2019-02-18 08:34:25 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-02-25 21:44:40 -0500 |
commit | d9a00459effc30f6de2cdd887b64f15c6c54ae71 (patch) | |
tree | 4ee1ff5bf240ac4016d4ecd3b4bfd608ef297d9e /drivers/scsi/hptiop.c | |
parent | 732f3238dcf27acb92959a99b7923dc49395980e (diff) | |
download | lwn-d9a00459effc30f6de2cdd887b64f15c6c54ae71.tar.gz lwn-d9a00459effc30f6de2cdd887b64f15c6c54ae71.zip |
scsi: hisi_sas: fix calls to dma_set_mask_and_coherent()
The change to use dma_set_mask_and_coherent() incorrectly made a second
call with the 32 bit DMA mask value when the call with the 64 bit DMA
mask value succeeded.
[mkp: fixed commit message]
Fixes: e4db40e7a1a2 ("scsi: hisi_sas: use dma_set_mask_and_coherent")
Cc: <stable@vger.kernel.org>
Suggested-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hptiop.c')
0 files changed, 0 insertions, 0 deletions