]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ips: properly handle 64-bit DMA
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:03:34 +0000 (15:03 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Nov 2018 02:31:28 +0000 (21:31 -0500)
commit46704873338480c7bf30264fae1a0acdc299a9f8
treee7a2c36cdc87b2af4629877adc719093c7b611c4
parent7e41befa740caba73cf8dda92c370a30bc0fb648
scsi: ips: properly handle 64-bit DMA

CONFIG_HIGHMEM64 is only one (and these days unusual) way to indicate
that > 32-bit dma address are possible.  Replace it with a check of the
dma_addr_t size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ips.c
drivers/scsi/ips.h