Thread (3 messages) 3 messages, 2 authors, 2011-09-23

Re: [PATCH] btrfs/ioctl.c: quiet sparse warnings

From: Joe Perches <joe@perches.com>
Date: 2011-09-23 18:16:05
Also in: lkml

On Fri, 2011-09-23 at 11:07 -0700, H Hartley Sweeten wrote:
Quiet the following sparse warnings:
[]
quoted hunk ↗ jump to hunk
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
[]
quoted hunk ↗ jump to hunk
@@ -2705,7 +2705,7 @@ long btrfs_ioctl_space_info(struct btrfs_root *root, void __user *arg)
 		up_read(&info->groups_sem);
 	}
 
-	user_dest = (struct btrfs_ioctl_space_info *)
+	user_dest = (struct btrfs_ioctl_space_info __user *)
                (arg + sizeof(struct btrfs_ioctl_space_args));
	user_dest = arg;
	user_dest++;

?

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help