2003-06-24 17:14:24

by Adrian Bunk

[permalink] [raw]
Subject: [2.5 patch] postfix a constant in DAC960.h with ULL

The patch below postfixes a constant in DAC960.h with ULL, on 32 bit
archs this constant is too big for an int.


Please apply
Adrian

--- linux-2.5.73-not-full/drivers/block/DAC960.h.old 2003-06-23 21:38:16.000000000 +0200
+++ linux-2.5.73-not-full/drivers/block/DAC960.h 2003-06-23 21:38:34.000000000 +0200
@@ -65,7 +65,7 @@
*/

#define DAC690_V1_PciDmaMask 0xffffffff
-#define DAC690_V2_PciDmaMask 0xffffffffffffffff
+#define DAC690_V2_PciDmaMask 0xffffffffffffffffULL

/*
Define a Boolean data type.