summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>2004-06-23 19:55:09 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-23 19:55:09 -0700
commita7834704c546ba087b5bf20f993b8083488bc595 (patch)
treee95250b336cb709a596e82653668e47ae83bbafc /include
parent8412a0db8eb60ef650a24578d38c1d18db5a806f (diff)
[PATCH] sparse: trivial drivers/char/* annotation and format fixes
- trivial annotation in several places in drivers/mtd - a bunch of debugging printks switched from %x to %llx (they get 64bit values) - in doc200[01].c fixed type of (unused) last argument in their doc_read_ecc().
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/mtd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 9ac94aaabd3f..d186585b73a4 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -22,7 +22,7 @@ struct erase_info_user {
struct mtd_oob_buf {
u_int32_t start;
u_int32_t length;
- unsigned char *ptr;
+ unsigned char __user *ptr;
};
#define MTD_CHAR_MAJOR 90