forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit986b9ea
kernel/sys.c: fix prototype of prctl_get_tid_address()
tid_addr is not a "pointer to (pointer to int in userspace)"; it is infact a "pointer to (pointer to int in userspace) in userspace". Sosparse rightfully complains about passing a kernel pointer toput_user().Reported-by: kernel test robot <lkp@intel.com>Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent23224e4 commit986b9ea
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2238 | 2238 | | |
2239 | 2239 | | |
2240 | 2240 | | |
2241 | | - | |
| 2241 | + | |
2242 | 2242 | | |
2243 | 2243 | | |
2244 | 2244 | | |
2245 | 2245 | | |
2246 | | - | |
| 2246 | + | |
2247 | 2247 | | |
2248 | 2248 | | |
2249 | 2249 | | |
| |||
2427 | 2427 | | |
2428 | 2428 | | |
2429 | 2429 | | |
2430 | | - | |
| 2430 | + | |
2431 | 2431 | | |
2432 | 2432 | | |
2433 | 2433 | | |
| |||
0 commit comments
Comments
(0)