Messages in this thread Patch in this message | | | Date | Fri, 9 Sep 2005 16:53:56 +0100 | From | viro@ZenIV ... | Subject | [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> ---- diff -urN RC13-git8-base/fs/bio.c current/fs/bio.c --- RC13-git8-base/fs/bio.c 2005-09-08 10:17:39.000000000 -0400 +++ current/fs/bio.c 2005-09-08 23:53:33.000000000 -0400 @@ -683,7 +683,7 @@ { 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |