From patchwork Sat Nov 19 05:51:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13049608 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80DDCC433FE for ; Sat, 19 Nov 2022 05:51:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DC97C6B0072; Sat, 19 Nov 2022 00:51:37 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D78F76B0073; Sat, 19 Nov 2022 00:51:37 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C68228E0001; Sat, 19 Nov 2022 00:51:37 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id B996E6B0072 for ; Sat, 19 Nov 2022 00:51:37 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 7FB30140789 for ; Sat, 19 Nov 2022 05:51:37 +0000 (UTC) X-FDA: 80149119834.28.16C1A5B Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf29.hostedemail.com (Postfix) with ESMTP id 2C71E120011 for ; Sat, 19 Nov 2022 05:51:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=5JckQtjLFKaJhNfVuiFkZN/oxJZBwctXTxGO8rRRZjA=; b=ir8REqR3W9lZQ472FC+xBvYPoe tIwzBaRkUNflMPbcxr8YugGkVZ/H3hkTgpMqR0PcT6Jcds9HIDwuW7M2ay+74zkadmTLLPQNnBBHp J3pi9dbJimeaUb9tKxTDXmRv6xtQo8dWyv5Gr6Vcf4TcUvOtgALYCOHidWkuh1q693pH3zf/BD/yA PqkKtu/0eXWWEo1CHvTKXIsGS0gvereK54Aytp+HYPrHuZGievNRNO1L8Bz1CpOFAbPFLCENJLnGE XJUmPOCC2NxEIi+FoWwidAzp8MjxtplNwLe6EKFOoJgjFPBlJHiUNBC6ndOR4qruZhP2LbnPwpg/Y vCf4WHrw==; Received: from [2601:1c2:d80:3110::a2e7] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1owGlE-0030wo-Le; Sat, 19 Nov 2022 05:51:29 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Geert Uytterhoeven , kernel test robot , Liam Howlett , Andrew Morton , linux-mm@kvack.org Subject: [PATCH] maple_tree: allow TEST_MAPLE_TREE only when DEBUG_KERNEL is set Date: Fri, 18 Nov 2022 21:51:17 -0800 Message-Id: <20221119055117.14094-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1668837097; a=rsa-sha256; cv=none; b=sRkFtSzBC5EFdNky0aYK3XyyoCMuF+13hJFJAp5daXDBdJulTL9euyCMuSWPnwL9G8Krdy 4QqW7kDd4Y4pH2A6FYDkdcEijjTcIfkNY7iVSDvqynRk8OmoThmQHzei4qlwVvgtmTuz8z tbTL07yLLsNhlRlmPF3wRDVnt255wWQ= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=ir8REqR3; spf=none (imf29.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=rdunlap@infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1668837097; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=5JckQtjLFKaJhNfVuiFkZN/oxJZBwctXTxGO8rRRZjA=; b=QOZ7IGzFtIplVj/8snQsSh3D9Mr3sOK2QBqpdZkhG3h9MBqtEk1vh9DOmCwHvVQGop7cmS LbLt4kAO/Rbc7DADaf10z3f1bEEscI9hiQqgT2TL9uhOMSmyqKEEZVtkaZWfSjW/9Sc9b4 CsZfE8LXyEoNRHV9oH0mEbWAnP8xgpA= X-Stat-Signature: hhju1dix1k8mtrnd4jzwtzrrpnh7ar48 X-Rspamd-Queue-Id: 2C71E120011 X-Rspamd-Server: rspam01 X-Rspam-User: Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=ir8REqR3; spf=none (imf29.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=rdunlap@infradead.org; dmarc=none X-HE-Tag: 1668837096-745806 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Prevent a kconfig warning that is caused by TEST_MAPLE_TREE by adding a "depends on" clause for TEST_MAPLE_TREE since 'select' does not follow any kconfig dependencies. WARNING: unmet direct dependencies detected for DEBUG_MAPLE_TREE Depends on [n]: DEBUG_KERNEL [=n] Selected by [y]: - TEST_MAPLE_TREE [=y] && RUNTIME_TESTING_MENU [=y] Reported-by: Geert Uytterhoeven Reported-by: kernel test robot Fixes: 120b116208a0 ("maple_tree: reorganize testing to restore module testing") Signed-off-by: Randy Dunlap Cc: Liam Howlett Cc: Andrew Morton Cc: linux-mm@kvack.org Reviewed-by: Liam R. Howlett --- lib/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) diff -- a/lib/Kconfig.debug b/lib/Kconfig.debug --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -2259,6 +2259,7 @@ config TEST_XARRAY tristate "Test the XArray code at runtime" config TEST_MAPLE_TREE + depends on DEBUG_KERNEL select DEBUG_MAPLE_TREE tristate "Test the Maple Tree code at runtime"