[PATCH] aic7xxx large integer
From: Miguel Angel Flores
Date: Sat Dec 04 2004 - 15:47:23 EST
Hi all,
I noticed a large integer warning when compiling 2.6.10rc3 with the SCSI
AIC-7xxx driver.
Here is the patch.
Cheers,
MaF
diff -r -u linux-2.6.10-rc3/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c linux-2.6.10-rc3-maf/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
--- linux-2.6.10-rc3/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c 2004-12-04 20:48:11.000000000 +0100
+++ linux-2.6.10-rc3-maf/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c 2004-12-04 20:37:54.000000000 +0100
@@ -226,7 +226,7 @@
}
pci_set_master(pdev);
- mask_39bit = 0x7FFFFFFFFFULL;
+ mask_39bit = 0x7FFFFFFF;
if (sizeof(dma_addr_t) > 4
&& ahc_linux_get_memsize() > 0x80000000
&& pci_set_dma_mask(pdev, mask_39bit) == 0) {