[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a1e9OZpA6SxDLoaYEUJaR8d_OAr4ai5P2m8kPO7n8THCw@mail.gmail.com>
Date: Tue, 28 Feb 2017 15:28:35 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Shuah Khan <shuah@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] lib: add module support to linked list sorting tests
On Tue, Feb 28, 2017 at 2:06 PM, Geert Uytterhoeven
<geert@...ux-m68k.org> wrote:
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index 90b2348777495b72..32363ae022e3282a 100644
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -1731,11 +1731,12 @@ config LKDTM
> Documentation/fault-injection/provoke-crashes.txt
>
> config TEST_LIST_SORT
> - bool "Linked list sorting test"
> - depends on DEBUG_KERNEL
> + tristate "Linked list sorting test"
> + depends on DEBUG_KERNEL || m
I don't see any other test code with a "DEBUG_KERNEL || m" dependency,
but several that are "DEBUG_KERNEL && m". Maybe we should just
force it to be a module like the others? If there are good reasons to
have it built-in, I'd just drop the "|| m" here.
Arnd
Powered by blists - more mailing lists