Skip to content
Commit 1ffee510 authored by Tiwei Bie's avatar Tiwei Bie Committed by Greg Kroah-Hartman
Browse files

um: Fix the declaration of kasan_map_memory

[ Upstream commit 6a85e34c ]

Make it match its definition (size_t vs unsigned long). And declare
it in a shared header to fix the -Wmissing-prototypes warning, as it
is defined in the user code and called in the kernel code.

Fixes: 5b301409

 ("UML: add support for KASAN under x86_64")
Signed-off-by: default avatarTiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 68bc383a
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