2.5.72 gdth.c 64 bit fix
PATCH 1/1 2.5.72 gdth.c 64 bit fix
Hi,
While looking through gdth.c in 2.5.72 I noticed a case where it truncates the dma adress it passes to pci_unmap_single() on 64 bit
+ HIGHMEM archs.
Jes
scsi/gdth.c renamed from scsi/gdth.c~ +1 -1
@@ -3662,7 +3662,7 @@pci_unmap_single (ha->pdev,scp->SCp.dma_handle, scp->request_bufflen,scp->SCp.Message);if (scp->SCp.buffer) -pci_unmap_single (ha->pdev,(dma_addr_t )(u32 )scp->SCp.buffer, +pci_unmap_single (ha->pdev,(dma_addr_t )scp->SCp.buffer,16 ,PCI_DMA_FROMDEVICE );#endif if (ha->status ==S_OK ) {