[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>
This commit is contained in:
viro@ZenIV.linux.org.uk 2005-09-09 16:53:56 +01:00 committed by Linus Torvalds
parent 6c9afc655d
commit 3f70353ea9
1 changed files with 1 additions and 1 deletions

View File

@ -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);