Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1681200imm; Thu, 19 Jul 2018 06:12:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeNTlygAo7+b6Sc+17qYkQKuUVg1vAfA+YlB9NxwwD0Pj0zTZy9DQ0Wz5BDDn3+K1LqmV+1 X-Received: by 2002:a63:614d:: with SMTP id v74-v6mr9909123pgb.328.1532005940069; Thu, 19 Jul 2018 06:12:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532005940; cv=none; d=google.com; s=arc-20160816; b=D6uka8w4HZPFEvYKGC4+stddR3FzzAr9OnIq3VHXFQJkhmWZDYVzdwjNiUffeX8CCF LYxbrqwH+GFdP+4r49I4p9wM0qSFWcBkMB+q5up7f3r1gjeDPchrJoXUKDwi1/zRTzKh Yen9c0Ecu0imSLOsStAlsXWVUymqQr3mkENMHo9pTJ3HDDETxRcUItAF5WQrL1LJfffk z5S3UKXNuE8y2GLWFXg7f7stuRk64c++i0Dq4le+BD2vIlkhAfCqbteqxA3+WH6mD5Td m2EFMay9ViRZEc4FCI2Ws9yWXh8/+pRLwi9gudv4URsNRgqoeyZp6TSFmict6EsWKFFl CyXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:to:subject :arc-authentication-results; bh=fRB6jt6dKYu0AKFD1I0htwmWWbQS+dXXW3YBDzX4H1A=; b=U3gYXm3Twr5ZmoRvqQ1I6FUMY9c5zRc0x6Gf4xD54atiQufOJNYdA2ISImfjYNcMAk 60Wn88HsPgQaYQyDD8i2T7IPBsy55DWimgPSJnZJsPSIvLQshjxJapGzFak0dsSWf0aI rTO94tO74S2ESR4/Hj1OXhBFpi/Ql/9E2stdjSUwMP2rH8uLMnaLN4JjeQ4bwbd+6laL wsZX4A0+fqxODywQIsCMkM2CdY5+UGjugMAaNPeRl6EUMxKni91xKOpAxx1gibt/FJPX mNr6hSb9SXpoSBVpH9P4phLOshDlbhxHAgFC/fHR5gCQYAFPaYpP5xc8Ebeh2XjBFytS zfkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t62-v6si5668177pgd.485.2018.07.19.06.11.42; Thu, 19 Jul 2018 06:12:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731718AbeGSNxm (ORCPT + 99 others); Thu, 19 Jul 2018 09:53:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:50486 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730096AbeGSNxm (ORCPT ); Thu, 19 Jul 2018 09:53:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id DC824AE69; Thu, 19 Jul 2018 13:10:33 +0000 (UTC) Subject: Re: [PATCH v1] lib: Remove 'default n' in Kconfig for tests To: Andy Shevchenko , Andrew Morton , linux-kernel@vger.kernel.org References: <20180719085131.79541-1-andriy.shevchenko@linux.intel.com> From: Coly Li Openpgp: preference=signencrypt Autocrypt: addr=colyli@suse.de; prefer-encrypt=mutual; keydata= xsFNBFYX6S8BEAC9VSamb2aiMTQREFXK4K/W7nGnAinca7MRuFUD4JqWMJ9FakNRd/E0v30F qv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wUCVhfp LwIbDAUJCWYBgAAKCRDHOQeTa334/PtREACDN8W/pHeHyPW/mTt6MEe/GICG5YdlBW5ft7HY Cf6rTz+uLZolGc5SYKuJJ0JC/L2Ifh3BWmwLIOxV868KB3oEfmGszBY+4n/icLyIEAkkthBb 2V5sP5KgB3bOg7mSFBxfHi2pyO9K9d+Lr+UkORjCGyV33QFrcN+OQdPDactontnQglB7xm2K phGWqxoqepHCqFIulZ3yKGhQhmdpyz0J19Ry6GkxPE85MG/NC98D5+4Yn/V3G+yZpbGsuFhE CP26JvdXh1jNCUdU46pEjZwu0GXBIo6r1cb1v+swfYB86NeFUHWtvxamh8i6RBl1FLDhN6xb r9f7M++xoADyzPQYQPQUxWK+iG6lz3qVVq5312z/is3fcdyESPNs09DMT43xCCBr9UOMq6dZ IC9EsSeMYv4librfuSRqH4R0MuVbVWLJFg/Q7s+nbPb2YjhqIYr51hBDyXpzUDoIz43maIPk UmCNKa43mNFktMrwU21J5lVXEwBuTY6JlHOAl0Fgo28X+eTa8fx2Uiz9OVgWe03ebJGIGowe XTgqVWJMsKM1tmW+QFmgtczDGRYCZ6OQYpqt0SoTg1yx5MN4RzUtlLka2qLfPiOGUUN3qNJ5 nP+spvF+s+dHtLjjhy7AL86N01a6S0rwaClVVv0XTucvIntwccIx0CZfUKlfn5BWnB64Ig== Message-ID: <2731955a-eae5-38f2-c815-713093b11909@suse.de> Date: Thu, 19 Jul 2018 21:10:25 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180719085131.79541-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/7/19 4:51 PM, Andy Shevchenko wrote: > It seems contributors follow the style of Kconfig entries where explicit > 'default n' is present. The default 'default' is 'n' already, thus, drop > these lines from Kconfig to make it more clear. > > Cc: Coly Li > Signed-off-by: Andy Shevchenko Acked-by: Coly Li Thanks. Coly Li > --- > lib/Kconfig | 1 - > lib/Kconfig.debug | 17 ----------------- > 2 files changed, 18 deletions(-) > > diff --git a/lib/Kconfig b/lib/Kconfig > index 031655d26dce..40bfa6ccd294 100644 > --- a/lib/Kconfig > +++ b/lib/Kconfig > @@ -231,7 +231,6 @@ config AUDIT_COMPAT_GENERIC > > config RANDOM32_SELFTEST > bool "PRNG perform self test on init" > - default n > help > This option enables the 32 bit PRNG library functions to perform a > self test on initialization. > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index c731ff97500c..244c08055d8e 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -1225,7 +1225,6 @@ config LOCK_TORTURE_TEST > tristate "torture tests for locking" > depends on DEBUG_KERNEL > select TORTURE_TEST > - default n > help > This option provides a kernel module that runs torture tests > on kernel locking primitives. The kernel module may be built > @@ -1692,7 +1691,6 @@ config LKDTM > tristate "Linux Kernel Dump Test Tool Module" > depends on DEBUG_FS > depends on BLOCK > - default n > help > This module enables testing of the different dumping mechanisms by > inducing system failures at predefined crash points. > @@ -1726,7 +1724,6 @@ config KPROBES_SANITY_TEST > bool "Kprobes sanity tests" > depends on DEBUG_KERNEL > depends on KPROBES > - default n > help > This option provides for testing basic kprobes functionality on > boot. Samples of kprobe and kretprobe are inserted and > @@ -1737,7 +1734,6 @@ config KPROBES_SANITY_TEST > config BACKTRACE_SELF_TEST > tristate "Self test for the backtrace code" > depends on DEBUG_KERNEL > - default n > help > This option provides a kernel module that can be used to test > the kernel stack backtrace code. This option is not useful > @@ -1807,7 +1803,6 @@ config TEST_PRINTF > > config TEST_BITMAP > tristate "Test bitmap_*() family of functions at runtime" > - default n > help > Enable this option to test the bitmap functions at boot. > > @@ -1831,7 +1826,6 @@ config TEST_OVERFLOW > > config TEST_RHASHTABLE > tristate "Perform selftest on resizable hash table" > - default n > help > Enable this option to test the rhashtable functions at boot. > > @@ -1839,7 +1833,6 @@ config TEST_RHASHTABLE > > config TEST_HASH > tristate "Perform selftest on hash functions" > - default n > help > Enable this option to test the kernel's integer (), > string (), and siphash () > @@ -1853,7 +1846,6 @@ config TEST_IDA > > config TEST_PARMAN > tristate "Perform selftest on priority array manager" > - default n > depends on PARMAN > help > Enable this option to test priority array manager on boot > @@ -1863,7 +1855,6 @@ config TEST_PARMAN > > config TEST_LKM > tristate "Test module loading with 'hello world' module" > - default n > depends on m > help > This builds the "test_module" module that emits "Hello, world" > @@ -1877,7 +1868,6 @@ config TEST_LKM > > config TEST_USER_COPY > tristate "Test user/kernel boundary protections" > - default n > depends on m > help > This builds the "test_user_copy" module that runs sanity checks > @@ -1890,7 +1880,6 @@ config TEST_USER_COPY > > config TEST_BPF > tristate "Test BPF filter functionality" > - default n > depends on m && NET > help > This builds the "test_bpf" module that runs various test vectors > @@ -1904,7 +1893,6 @@ config TEST_BPF > > config FIND_BIT_BENCHMARK > tristate "Test find_bit functions" > - default n > help > This builds the "test_find_bit" module that measure find_*_bit() > functions performance. > @@ -1913,7 +1901,6 @@ config FIND_BIT_BENCHMARK > > config TEST_FIRMWARE > tristate "Test firmware loading via userspace interface" > - default n > depends on FW_LOADER > help > This builds the "test_firmware" module that creates a userspace > @@ -1926,7 +1913,6 @@ config TEST_FIRMWARE > > config TEST_SYSCTL > tristate "sysctl test driver" > - default n > depends on PROC_SYSCTL > help > This builds the "test_sysctl" module. This driver enables to test the > @@ -1937,7 +1923,6 @@ config TEST_SYSCTL > > config TEST_UDELAY > tristate "udelay test driver" > - default n > help > This builds the "udelay_test" module that helps to make sure > that udelay() is working properly. > @@ -1946,7 +1931,6 @@ config TEST_UDELAY > > config TEST_STATIC_KEYS > tristate "Test static keys" > - default n > depends on m > help > Test the static key interfaces. > @@ -1955,7 +1939,6 @@ config TEST_STATIC_KEYS > > config TEST_KMOD > tristate "kmod stress tester" > - default n > depends on m > depends on BLOCK && (64BIT || LBDAF) # for XFS, BTRFS > depends on NETDEVICES && NET_CORE && INET # for TUN >