lkml.org 
[lkml]   [2004]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] aic7xxx large integer
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) {
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.038 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site