Re: [PATCH] CCISS 64bit fixup.

From: Jeff Garzik
Date: Mon Aug 11 2003 - 09:57:07 EST


On Mon, Aug 11, 2003 at 02:40:24PM +0100, davej@xxxxxxxxxx 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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/