commit | 986b9eacb25910865b50e5f298aa8e2df7642f1b | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Sat Oct 24 03:04:26 2020 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Oct 25 11:44:16 2020 -0700 |
tree | 300b9558aac3c868b7a4213b6de09117147b81c5 | |
parent | 23224e45004ed84c8466fd1e8e5860f541187029 [diff] |
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>