summaryrefslogtreecommitdiff
path: root/mm/kasan/report.c
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2021-10-29 12:25:08 +0100
committerWill Deacon <will@kernel.org>2021-10-29 12:25:08 +0100
commit7066248c44ee4392b6831b2ede0ce57891202de0 (patch)
treeb043c40d932283f93e1bceeea56a1615c4b48f85 /mm/kasan/report.c
parentdc6bab18fb3c9dfde892cef2b1fe73565ff1f91a (diff)
parent2d27e585147395316289c63efc932984675c65c2 (diff)
downloadlwn-7066248c44ee4392b6831b2ede0ce57891202de0.tar.gz
lwn-7066248c44ee4392b6831b2ede0ce57891202de0.zip
Merge branch 'for-next/mte' into for-next/core
* for-next/mte: kasan: Extend KASAN mode kernel parameter arm64: mte: Add asymmetric mode support arm64: mte: CPU feature detection for Asymm MTE arm64: mte: Bitfield definitions for Asymm MTE kasan: Remove duplicate of kasan_flag_async arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
Diffstat (limited to 'mm/kasan/report.c')
-rw-r--r--mm/kasan/report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/kasan/report.c b/mm/kasan/report.c
index 884a950c7026..9da071ad930c 100644
--- a/mm/kasan/report.c
+++ b/mm/kasan/report.c
@@ -112,7 +112,7 @@ static void start_report(unsigned long *flags)
static void end_report(unsigned long *flags, unsigned long addr)
{
- if (!kasan_async_mode_enabled())
+ if (!kasan_async_fault_possible())
trace_error_report_end(ERROR_DETECTOR_KASAN, addr);
pr_err("==================================================================\n");
add_taint(TAINT_BAD_PAGE, LOCKDEP_NOW_UNRELIABLE);