Skip to content

Commit

Permalink
fcntl: fix misannotations
Browse files Browse the repository at this point in the history
__user * != * __user...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Sep 27, 2012
1 parent 2744c17 commit 63784dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/fcntl.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ pid_t f_getown(struct file *filp)

static int f_setown_ex(struct file *filp, unsigned long arg)
{
struct f_owner_ex * __user owner_p = (void * __user)arg;
struct f_owner_ex __user *owner_p = (void __user *)arg;
struct f_owner_ex owner;
struct pid *pid;
int type;
Expand Down Expand Up @@ -189,7 +189,7 @@ static int f_setown_ex(struct file *filp, unsigned long arg)

static int f_getown_ex(struct file *filp, unsigned long arg)
{
struct f_owner_ex * __user owner_p = (void * __user)arg;
struct f_owner_ex __user *owner_p = (void __user *)arg;
struct f_owner_ex owner;
int ret = 0;

Expand Down Expand Up @@ -227,7 +227,7 @@ static int f_getown_ex(struct file *filp, unsigned long arg)
static int f_getowner_uids(struct file *filp, unsigned long arg)
{
struct user_namespace *user_ns = current_user_ns();
uid_t * __user dst = (void * __user)arg;
uid_t __user *dst = (void __user *)arg;
uid_t src[2];
int err;

Expand Down

0 comments on commit 63784dd

Please sign in to comment.