kasan, mm: fix build issue with asmlinkage
PATCH 1/1 kasan, mm: fix build issue with asmlinkage
commit 2df573d2ca4c1ce6ea33cb7849222f771e759211
Author: Andrey Konovalov <[email protected]> Date: Tue Nov 24 16:45:08 2020 +1100
kasan: shadow declarations only for software modes
introduces a build failure when it removed an include for linux/pgtable.h It actually only needs linux/linkage.h
Test builds on both x86_64 and arm build cleanly
---
include/linux/kasan.h +1 -0
@@ -12,6 +12,7 @@ struct task_struct;#ifdef CONFIG_KASAN +#include <linux/linkage.h> #include <asm/kasan.h> /* kasan_data struct is used in KUnit tests for KASAN expected failures */
Quoted 6 lines · Valdis Klētnieks
commit
2df573d2ca4c1ce6ea33cb7849222f771e759211Author: Andrey Konovalov <[email protected]> Date: Tue Nov 24 16:45:08 2020 +1100kasan: shadow declarations only for software modes
Quoted 7 lines
introduces a build failure when it removed an include for
linux/pgtable.hIt actually only needslinux/linkage.hTest builds on both
x86_64and arm build cleanlyFixes 2df573d2ca4c ("kasan: shadow declarations only for software modes")Signed-off-by Valdis Kletnieks <[email protected]>
Probably want to add
for more context, too.
Thanks,
-- Marco
Quoted 19 lines
---
include/linux/kasan.h +1
-1@@ -12,6 +12,7 @@ struct task_struct;#ifdef CONFIG_KASAN +#include <linux/linkage.h> #include <asm/kasan.h> /* kasan_data struct is used in KUnit tests for KASAN expected failures */ --You received this message because you are subscribed to the Google Groups "kasan-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/35126.1606402815%40turing-police.
Andrey Konovalov
Reviewed-byQuoted 16 lines · Marco Elver
Quoted 6 lines · Valdis Klētnieks
commit
2df573d2ca4c1ce6ea33cb7849222f771e759211Author: Andrey Konovalov <[email protected]> Date: Tue Nov 24 16:45:08 2020 +1100kasan: shadow declarations only for software modes
Quoted 7 lines
introduces a build failure when it removed an include for
linux/pgtable.hIt actually only needslinux/linkage.hTest builds on both
x86_64and arm build cleanlyFixes 2df573d2ca4c ("kasan: shadow declarations only for software modes")Signed-off-by Valdis Kletnieks <[email protected]>
Quoted 7 lines
Reviewed-by Marco Elver <[email protected]>Probably want to add
for more context, too.
Thank you, Valdis!