diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-25 20:38:45 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-25 20:41:46 -0400 |
commit | b776e4b1a990045a7c70798f1f353c3160c26594 (patch) | |
tree | 5325b37ab2d4a58edf0e1c8eaadc054d97eca48f /ipc/shm.c | |
parent | 58aff0af757356065f33290d96a9cd46dfbcae88 (diff) | |
download | op-kernel-dev-b776e4b1a990045a7c70798f1f353c3160c26594.zip op-kernel-dev-b776e4b1a990045a7c70798f1f353c3160c26594.tar.gz |
fix a typo in put_compat_shm_info()
"uip" misspelled as "up"; unfortunately, the latter happens to be
a function and gcc is happy to convert it to void *...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/shm.c')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1154,7 +1154,7 @@ static int put_compat_shm_info(struct shm_info *ip, info.shm_swp = ip->shm_swp; info.swap_attempts = ip->swap_attempts; info.swap_successes = ip->swap_successes; - return copy_to_user(up, &info, sizeof(info)); + return copy_to_user(uip, &info, sizeof(info)); } static int copy_compat_shmid_to_user(void __user *buf, struct shmid64_ds *in, |