diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-22 15:23:21 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-05-22 16:59:49 +0100 |
commit | 8cfb347ad0cffdbfc69c82506fb3be9429563211 (patch) | |
tree | 68572474dac4176aab8a86a63b11a03a8f57e005 /arch/arm64/kernel/smp.c | |
parent | 1cf6022bd9161081215028203919c33fcfa6debb (diff) | |
download | linux-8cfb347ad0cffdbfc69c82506fb3be9429563211.tar.gz linux-8cfb347ad0cffdbfc69c82506fb3be9429563211.tar.bz2 linux-8cfb347ad0cffdbfc69c82506fb3be9429563211.zip |
arm64: Add get_user() type annotation on the !access_ok() path
Sparse reports "Using plain integer as NULL pointer" when the arm64
__get_user_error() assigns 0 to a pointer type. Use proper type
annotation.
Signed-of-by: Al Viro <viro@zeniv.linux.org.uk>
Reported-by: kbuild test robot <lkp@intel.com>
Link: http://lkml.kernel.org/r/20200522142321.GP23230@ZenIV.linux.org.uk
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions