tree 138d822bbec7623c523db96bae43bc2c4f4a0fda parent 01703597ead8194b46932ba2bcda897e872e91e0 author [EMAIL PROTECTED] <[EMAIL PROTECTED]> Fri, 09 Sep 2005 20:36:43 +0100 committer Linus Torvalds <[EMAIL PROTECTED]> Sat, 10 Sep 2005 04:05:54 -0700
[PATCH] trivial __user annotations (md) Signed-off-by: Al Viro <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> drivers/md/md.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/md.c b/drivers/md/md.c --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -2087,7 +2087,7 @@ static int get_array_info(mddev_t * mdde return 0; } -static int get_bitmap_file(mddev_t * mddev, void * arg) +static int get_bitmap_file(mddev_t * mddev, void __user * arg) { mdu_bitmap_file_t *file = NULL; /* too big for stack allocation */ char *ptr, *buf = NULL; @@ -2781,7 +2781,7 @@ static int md_ioctl(struct inode *inode, goto done_unlock; case GET_BITMAP_FILE: - err = get_bitmap_file(mddev, (void *)arg); + err = get_bitmap_file(mddev, argp); goto done_unlock; case GET_DISK_INFO: - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html