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-Url: https://git.stricted.de/?a=commitdiff_plain;h=3f70353ea91ad77c83500e70507a239b2ab0c980;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 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, { 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);