commit | 3f70353ea91ad77c83500e70507a239b2ab0c980 | [log] [tgz] |
---|---|---|
author | viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk> | Fri Sep 09 16:53:56 2005 +0100 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Sep 09 10:31:58 2005 -0700 |
tree | ef51eaaa3e089c314ee3bea21ecd94d3800758ad | |
parent | 6c9afc655d4df902211d00a437e893881cdef588 [diff] |
[PATCH] bogus cast in bio.c <qualifier> void * is not the same as void <qualifier> *... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/fs/bio.c b/fs/bio.c index a7d4fd3a..83a3495 100644 --- a/fs/bio.c +++ b/fs/bio.c
@@ -683,7 +683,7 @@ { struct sg_iovec iov; - iov.iov_base = (__user void *)uaddr; + iov.iov_base = (void __user *)uaddr; iov.iov_len = len; return bio_map_user_iov(q, bdev, &iov, 1, write_to_vm);