[PATCH] ubsan-run-time-undefined-behavior-sanity-checker-fix-4
From: Andrey Ryabinin
Date: Thu Dec 10 2015 - 10:53:20 EST
s/ARCH_HAS_UBSAN_SANTIZE_ALL/ARCH_HAS_UBSAN_SANITIZE_ALL
Reported-by: Daniel Axtens <dja@xxxxxxxxxx>
Signed-off-by: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
---
arch/x86/Kconfig | 2 +-
lib/Kconfig.ubsan | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index fad38cd..567bb78 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -30,7 +30,7 @@ config X86
select ARCH_HAS_PMEM_API if X86_64
select ARCH_HAS_MMIO_FLUSH
select ARCH_HAS_SG_CHAIN
- select ARCH_HAS_UBSAN_SANTIZE_ALL
+ select ARCH_HAS_UBSAN_SANITIZE_ALL
select ARCH_HAVE_NMI_SAFE_CMPXCHG
select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
select ARCH_MIGHT_HAVE_PC_PARPORT
diff --git a/lib/Kconfig.ubsan b/lib/Kconfig.ubsan
index 3c2868b..49518fb 100644
--- a/lib/Kconfig.ubsan
+++ b/lib/Kconfig.ubsan
@@ -1,4 +1,4 @@
-config ARCH_HAS_UBSAN_SANTIZE_ALL
+config ARCH_HAS_UBSAN_SANITIZE_ALL
bool
config UBSAN
@@ -12,7 +12,7 @@ config UBSAN
config UBSAN_SANITIZE_ALL
bool "Enable instrumentation for the entire kernel"
depends on UBSAN
- depends on ARCH_HAS_UBSAN_SANTIZE_ALL
+ depends on ARCH_HAS_UBSAN_SANITIZE_ALL
default y
help
This option activates instrumentation for the entire kernel.
--
2.4.10
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/