[PATCH] bogus cast in bio.c

From: viro
Date: Fri Sep 09 2005 - 10:54:18 EST


<qualifier> void * is not the same as void <qualifier> *...
Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
----
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/