* [PATCH] CCISS 64bit fixup.
@ 2003-08-11 13:40 davej
2003-08-11 14:47 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: davej @ 2003-08-11 13:40 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
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");
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] CCISS 64bit fixup.
2003-08-11 13:40 [PATCH] CCISS 64bit fixup davej
@ 2003-08-11 14:47 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-08-11 14:47 UTC (permalink / raw)
To: davej; +Cc: torvalds, linux-kernel
On Mon, Aug 11, 2003 at 02:40:24PM +0100, davej@redhat.com 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-11 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-11 13:40 [PATCH] CCISS 64bit fixup davej
2003-08-11 14:47 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).