Skip to contentSkip to conversation

postfix a constat in mptbase.c with ULL

PATCH New Adrian Bunk 1 participant 1 message Jun 30, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

drivers/message/fusion/mptbase.c renamed from drivers/message/fusion/mptbase.c.old +1 -1
@@ -1279,7 +1279,7 @@
 	u32		 psize;
 	int		 ii;
 	int		 r = -ENODEV;
-	u64		 mask = 0xffffffffffffffff;
+	u64		 mask = 0xffffffffffffffffULL;
 
 	if (pci_enable_device(pdev))
 		return r;