Commit 16ccb014 authored by Tong Tiangen's avatar Tong Tiangen
Browse files

kasan: fix the compilation error for memcpy_mcs()

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8MWHA


CVE: NA

--------------------------------

check_memory_region() has been renamed kasan_check_range() in commit
f00748bf ("kasan: prefix global functions with kasan_"). Therefore,
a compilation error occurs when check_memory_region() is called in
memcpy_mcs() in file mm/kasan/shadow.c, this patch fix this issue.

Fixes: 23ca830ebbef ("arm64: introduce copy_mc_to_kernel() implementation")
Signed-off-by: default avatarTong Tiangen <tongtiangen@huawei.com>
parent cb2566ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment