summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_export.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2020-10-24 03:04:26 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-25 19:44:16 +0100
commit986b9eacb25910865b50e5f298aa8e2df7642f1b (patch)
tree300b9558aac3c868b7a4213b6de09117147b81c5 /kernel/trace/trace_export.c
parentmm: remove kzfree() compatibility definition (diff)
downloadlinux-986b9eacb25910865b50e5f298aa8e2df7642f1b.tar.xz
linux-986b9eacb25910865b50e5f298aa8e2df7642f1b.zip
kernel/sys.c: fix prototype of prctl_get_tid_address()
tid_addr is not a "pointer to (pointer to int in userspace)"; it is in fact a "pointer to (pointer to int in userspace) in userspace". So sparse rightfully complains about passing a kernel pointer to put_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>
Diffstat (limited to 'kernel/trace/trace_export.c')
0 files changed, 0 insertions, 0 deletions