Home
last modified time | relevance | path

Searched hist:"6 a85e34c4d07d2ec0c153067baff338ac0db55ca" (Results 1 – 2 of 2) sorted by relevance

/linux/arch/um/include/shared/
H A Dkern_util.hdiff 6a85e34c4d07d2ec0c153067baff338ac0db55ca Tue Apr 23 14:58:55 CEST 2024 Tiwei Bie <tiwei.btw@antgroup.com> um: Fix the declaration of kasan_map_memory

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: 5b301409e8bc ("UML: add support for KASAN under x86_64")
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
/linux/arch/um/os-Linux/
H A Dmem.cdiff 6a85e34c4d07d2ec0c153067baff338ac0db55ca Tue Apr 23 14:58:55 CEST 2024 Tiwei Bie <tiwei.btw@antgroup.com> um: Fix the declaration of kasan_map_memory

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: 5b301409e8bc ("UML: add support for KASAN under x86_64")
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>