Skip to content

Commit

Permalink
[PATCH] bogus cast in bio.c
Browse files Browse the repository at this point in the history
<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>
  • Loading branch information
viro@ZenIV.linux.org.uk authored and Linus Torvalds committed Sep 9, 2005
1 parent 6c9afc6 commit 3f70353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3f70353

Please sign in to comment.