]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hptiop: fix calls to dma_set_mask()
authorHannes Reinecke <hare@suse.de>
Mon, 18 Feb 2019 07:34:26 +0000 (08:34 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Feb 2019 02:44:40 +0000 (21:44 -0500)
commit83d449f13708a3edef96043f60958bb8e42d9848
tree9a631529608ce1b01008fc6a59a64914f2d4cab2
parente577cd0b25fcfd8f0e211a47260035b9689e94cc
scsi: hptiop: fix calls to dma_set_mask()

The change to use dma_set_mask() incorrectly made a second call with the 32
bit DMA mask value when the call with the 64 bit DMA mask value succeeded.

Fixes: bfd34544d81b ("scsi: hptiop: use dma_set_mask")
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>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hptiop.c