From: viro@ZenIV.linux.org.uk Date: Fri, 9 Sep 2005 15:53:56 +0000 (+0100) Subject: [PATCH] bogus cast in bio.c X-Git-Tag: v2.6.14-rc1~489 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3f70353ea91ad77c83500e70507a239b2ab0c980;p=linux-2.6-omap-h63xx.git [PATCH] bogus cast in bio.c void * is not the same as void *... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/fs/bio.c b/fs/bio.c index a7d4fd3a329..83a34957456 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, { 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);