2003-06-30 20:31:30

by Adrian Bunk

[permalink] [raw]
Subject: [2.5 patch] postfix a constat in mptbase.c with ULL


The patch below postfixes a constant in mptbase.c that is on 32 bit
archs too big for a long with ULL.

Please apply
Adrian

--- linux-2.5.73-not-full/drivers/message/fusion/mptbase.c.old 2003-06-23 23:07:57.000000000 +0200
+++ linux-2.5.73-not-full/drivers/message/fusion/mptbase.c 2003-06-23 23:08:27.000000000 +0200
@@ -1279,7 +1279,7 @@
u32 psize;
int ii;
int r = -ENODEV;
- u64 mask = 0xffffffffffffffff;
+ u64 mask = 0xffffffffffffffffULL;

if (pci_enable_device(pdev))
return r;