Skip to contentSkip to conversation

CCISS 64bit fixup.

PATCH In review [email protected] 2 participants 2 messages Aug 11, 2003 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CCISS 64bit fixup.

drivers/block/cciss.c +1 -1
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/block/cciss.c linux-2.5/drivers/block/cciss.c
@@ -2457,7 +2457,7 @@ static int __init cciss_init_one(struct 
 	hba[i]->pdev = pdev;
 
 	/* configure PCI DMA stuff */
-	if (!pci_set_dma_mask(pdev, (u64) 0xffffffffffffffff))
+	if (!pci_set_dma_mask(pdev, (u64) 0xffffffffffffffffULL))
 		printk("cciss: using DAC cycles\n");
 	else if (!pci_set_dma_mask(pdev, 0xffffffff))
 		printk("cciss: not using DAC cycles\n");
#1 lore raw

drivers/block/cciss.c static int __init cciss_init_one(struct · line 2460

Quoted 9 lines · On Mon, Aug 11, 2003 at 02:40:24PM +0100, [email protected] wrote:

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/block/cciss.c linux-2.5/drivers/block/cciss.c

drivers/block/cciss.c +1 -1
@@ -2457,7 +2457,7 @@ static int __init cciss_init_one(struct 
 	hba[i]->pdev = pdev;
 
 	/* configure PCI DMA stuff */
-	if (!pci_set_dma_mask(pdev, (u64) 0xffffffffffffffff))
+	if (!pci_set_dma_mask(pdev, (u64) 0xffffffffffffffffULL))

Remove the cast :)

Jeff