Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751264AbcJJFfN (ORCPT ); Mon, 10 Oct 2016 01:35:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58306 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750881AbcJJFfM (ORCPT ); Mon, 10 Oct 2016 01:35:12 -0400 Date: Mon, 10 Oct 2016 13:34:33 +0800 From: Dave Young To: Greg Kroah-Hartman Cc: Arnd Bergmann , Kees Cook , linux-kernel@vger.kernel.org Subject: [PATCH v2] Move CONFIG_DEVKMEM default to n Message-ID: <20161010053433.GA5627@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.0 (2016-08-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 10 Oct 2016 05:34:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 20 Kconfig comment suggests setting it as "n" if in doubt thus move the default value to 'n'. Signed-off-by: Dave Young Suggested-by: Kees Cook --- Greg: drop the "default" line will set the default as n drivers/char/Kconfig | 1 - 1 file changed, 1 deletion(-) --- linux-x86.orig/drivers/char/Kconfig +++ linux-x86/drivers/char/Kconfig @@ -17,7 +17,6 @@ config DEVMEM config DEVKMEM bool "/dev/kmem virtual device support" - default y help Say Y here if you want to support the /dev/kmem device. The /dev/kmem device is rarely used, but can be used for certain