mtd/include/mtd mtd-abi.h,1.5,1.6
David Woodhouse
dwmw2 at infradead.org
Mon Aug 9 09:38:33 EDT 2004
- Previous message: mtd/drivers/mtd Kconfig, 1.5, 1.6 Makefile.common, 1.3,
1.4 mtdchar.c, 1.62, 1.63 mtdpart.c, 1.46, 1.47
- Next message: mtd/drivers/mtd ftl.c,1.52,1.53
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/include/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv5850
Modified Files:
mtd-abi.h
Log Message:
Add __user annotation to mtd_oob_buf.
Index: mtd-abi.h
===================================================================
RCS file: /home/cvs/mtd/include/mtd/mtd-abi.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mtd-abi.h 22 Jun 2004 09:29:35 -0000 1.5
+++ mtd-abi.h 9 Aug 2004 13:38:30 -0000 1.6
@@ -7,6 +7,11 @@
#ifndef __MTD_ABI_H__
#define __MTD_ABI_H__
+#ifndef __KERNEL__ /* Urgh. The whole point of splitting this out into
+ separate files was to avoid #ifdef __KERNEL__ */
+#define __user
+#endif
+
struct erase_info_user {
uint32_t start;
uint32_t length;
@@ -15,7 +20,7 @@
struct mtd_oob_buf {
uint32_t start;
uint32_t length;
- unsigned char *ptr;
+ unsigned char __user *ptr;
};
#define MTD_ABSENT 0
- Previous message: mtd/drivers/mtd Kconfig, 1.5, 1.6 Makefile.common, 1.3,
1.4 mtdchar.c, 1.62, 1.63 mtdpart.c, 1.46, 1.47
- Next message: mtd/drivers/mtd ftl.c,1.52,1.53
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list