mtd/include/linux/mtd map.h,1.42,1.43
David Woodhouse
dwmw2 at infradead.org
Wed Jul 14 09:30:30 EDT 2004
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv979
Modified Files:
map.h
Log Message:
add parentheses around macro arguments
Index: map.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/map.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- map.h 14 Jul 2004 11:19:28 -0000 1.42
+++ map.h 14 Jul 2004 13:30:27 -0000 1.43
@@ -398,7 +398,7 @@
#define map_copy_to(map, to, from, len) inline_map_copy_to(map, to, from, len)
-#define simple_map_init(map) BUG_ON(!map_bankwidth_supported(map->bankwidth))
+#define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth))
#define map_is_linear(map) (1)
#endif /* !CONFIG_MTD_COMPLEX_MAPPINGS */
More information about the linux-mtd-cvs
mailing list