Skip to content

Commit

Permalink
misc __user misannotations (pointless casts to long)
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Al Viro authored and torvalds committed Mar 30, 2008
1 parent 53a0c98 commit 74dbf71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/lguest/lguest_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ static int initialize(struct file *file, const unsigned long __user *input)
}

/* Populate the easy fields of our "struct lguest" */
lg->mem_base = (void __user *)(long)args[0];
lg->mem_base = (void __user *)args[0];
lg->pfn_limit = args[1];

/* This is the first cpu (cpu 0) and it will start booting at args[3] */
Expand Down

0 comments on commit 74dbf71

Please sign in to comment.