lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun,  3 Dec 2017 13:09:37 +0100
From:   Vincent Legoll <vincent.legoll@...il.com>
To:     sudeep.dutt@...el.com, ashutosh.dixit@...el.com,
        linux-kernel@...r.kernel.org
Cc:     Vincent Legoll <vincent.legoll@...il.com>
Subject: [PATCH] Make MIC a menuconfig to ease disabling it all

No need to get into the submenu to disable all MIC-related config entries

Signed-off-by: Vincent Legoll <vincent.legoll@...il.com>
---
 drivers/misc/mic/Kconfig | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/misc/mic/Kconfig b/drivers/misc/mic/Kconfig
index 227cc7443671..badc84356715 100644
--- a/drivers/misc/mic/Kconfig
+++ b/drivers/misc/mic/Kconfig
@@ -1,4 +1,7 @@
-menu "Intel MIC & related support"
+menuconfig INTEL_MISC_BUS
+	bool "Intel MIC & related support"
+
+if INTEL_MISC_BUS
 
 comment "Intel MIC Bus Driver"
 
@@ -153,4 +156,4 @@ if VOP
 source "drivers/vhost/Kconfig.vringh"
 endif
 
-endmenu
+endif # INTEL_MISC_BUS
-- 
2.11.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ