diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/block/cciss.c linux-2.5/drivers/block/cciss.c
--- bk-linus/drivers/block/cciss.c 2003-08-07 13:51:31.000000000 +0100
+++ linux-2.5/drivers/block/cciss.c 2003-08-07 14:13:28.000000000 +0100
@@ -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");
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
> --- bk-linus/drivers/block/cciss.c 2003-08-07 13:51:31.000000000 +0100
> +++ linux-2.5/drivers/block/cciss.c 2003-08-07 14:13:28.000000000 +0100
> @@ -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