diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2015-03-16 07:59:04 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-03-25 06:49:47 -0400 |
commit | 9f9d86e1e9ecbb43d0ca41c9c9118f141ab8d93e (patch) | |
tree | 440b81866b2dfc562978b9888f9e16df53ca11cf /arch/s390/kernel | |
parent | 2a5e91c3acda515f9faac646777f3e54aa9cf04b (diff) |
s390/uprobes: fix address space annotation
Remove __user address space annotation for sim_stor_event() calls since it
generates false positive warnings from sparse.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/uprobes.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/kernel/uprobes.c b/arch/s390/kernel/uprobes.c index cc7328080b60..66956c09d5bf 100644 --- a/arch/s390/kernel/uprobes.c +++ b/arch/s390/kernel/uprobes.c | |||
@@ -188,7 +188,9 @@ static void adjust_psw_addr(psw_t *psw, unsigned long len) | |||
188 | else if (put_user(*(input), __ptr)) \ | 188 | else if (put_user(*(input), __ptr)) \ |
189 | __rc = EMU_ADDRESSING; \ | 189 | __rc = EMU_ADDRESSING; \ |
190 | if (__rc == 0) \ | 190 | if (__rc == 0) \ |
191 | sim_stor_event(regs, __ptr, mask + 1); \ | 191 | sim_stor_event(regs, \ |
192 | (void __force *)__ptr, \ | ||
193 | mask + 1); \ | ||
192 | __rc; \ | 194 | __rc; \ |
193 | }) | 195 | }) |
194 | 196 | ||