aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bio.c
diff options
context:
space:
mode:
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>2005-09-09 11:53:56 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 13:31:58 -0400
commit3f70353ea91ad77c83500e70507a239b2ab0c980 (patch)
treeef51eaaa3e089c314ee3bea21ecd94d3800758ad /fs/bio.c
parent6c9afc655d4df902211d00a437e893881cdef588 (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>
Diffstat (limited to 'fs/bio.c')
-rw-r--r--fs/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bio.c b/fs/bio.c
index a7d4fd3a3299..83a349574567 100644
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -683,7 +683,7 @@ struct bio *bio_map_user(request_queue_t *q, struct block_device *bdev,
683{ 683{
684 struct sg_iovec iov; 684 struct sg_iovec iov;
685 685
686 iov.iov_base = (__user void *)uaddr; 686 iov.iov_base = (void __user *)uaddr;
687 iov.iov_len = len; 687 iov.iov_len = len;
688 688
689 return bio_map_user_iov(q, bdev, &iov, 1, write_to_vm); 689 return bio_map_user_iov(q, bdev, &iov, 1, write_to_vm);