Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753538AbbLJPxQ (ORCPT ); Thu, 10 Dec 2015 10:53:16 -0500 Received: from mx2.parallels.com ([199.115.105.18]:44196 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbbLJPxP (ORCPT ); Thu, 10 Dec 2015 10:53:15 -0500 From: Andrey Ryabinin To: CC: , , Andrey Ryabinin Subject: [PATCH] ubsan-run-time-undefined-behavior-sanity-checker-fix-4 Date: Thu, 10 Dec 2015 18:53:47 +0300 Message-ID: <1449762827-30549-1-git-send-email-aryabinin@virtuozzo.com> X-Mailer: git-send-email 2.4.10 MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: US-EXCH2.sw.swsoft.com (10.255.249.46) To US-EXCH.sw.swsoft.com (10.255.249.47) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org s/ARCH_HAS_UBSAN_SANTIZE_ALL/ARCH_HAS_UBSAN_SANITIZE_ALL Reported-by: Daniel Axtens Signed-off-by: Andrey Ryabinin --- 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