Commit eb0c66a5 authored by Chris Wright's avatar Chris Wright Committed by Linus Torvalds

[PATCH] __user annotation for dummy_shm_shmat

Add proper __user annotation to dummy_shm_shmat.
Signed-off-by: default avatarChris Wright <chrisw@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 20f284b9
...@@ -688,7 +688,7 @@ static int dummy_shm_shmctl (struct shmid_kernel *shp, int cmd) ...@@ -688,7 +688,7 @@ static int dummy_shm_shmctl (struct shmid_kernel *shp, int cmd)
return 0; return 0;
} }
static int dummy_shm_shmat (struct shmid_kernel *shp, char *shmaddr, static int dummy_shm_shmat (struct shmid_kernel *shp, char __user *shmaddr,
int shmflg) int shmflg)
{ {
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment