Skip to contentSkip to conversation

two small MTD fixes

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

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

PATCH 1/1 two small MTD fixes

The patch below contains the following fixes for MTD in 2.5.73:
- postfix a constat in mptbase.c with ULL
- add an extern declaration for a function that is later called in gen_probe.c

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;
drivers/mtd/chips/gen_probe.c renamed from drivers/mtd/chips/gen_probe.c.old +1 -0
@@ -281,6 +281,7 @@
 
 extern cfi_cmdset_fn_t cfi_cmdset_0001;
 extern cfi_cmdset_fn_t cfi_cmdset_0002;
+extern cfi_cmdset_fn_t cfi_cmdset_0020;
 
 static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map, 
 						  int primary)