mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]>
This commit is contained in:
parent
58aff0af75
commit
b776e4b1a9
1 changed files with 1 additions and 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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue