Skip to content
Commit 8cfb347a authored by Al Viro's avatar Al Viro Committed by Catalin Marinas
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Link: http://lkml.kernel.org/r/20200522142321.GP23230@ZenIV.linux.org.uk
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 1cf6022b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment