All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bogus cast in bio.c
@ 2005-09-09 15:53 viro
  2005-09-09 16:18 ` Andreas Schwab
  0 siblings, 1 reply; 8+ messages in thread
From: viro @ 2005-09-09 15:53 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-09-09 20:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-09 15:53 [PATCH] bogus cast in bio.c viro
2005-09-09 16:18 ` Andreas Schwab
2005-09-09 16:36   ` viro
2005-09-09 17:29     ` [sparse fix] (was Re: [PATCH] bogus cast in bio.c) viro
2005-09-09 17:34       ` viro
2005-09-09 17:48       ` Linus Torvalds
2005-09-09 18:15         ` Linus Torvalds
2005-09-09 20:10           ` viro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.