From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 225A58F74 for ; Sun, 16 Jul 2023 20:03:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9972DC433C8; Sun, 16 Jul 2023 20:03:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1689537824; bh=w9ZrXVXLw8crksylnxgxcMpZFn4W6SGOH+0JK/QSfGo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zcZ95+GE/Vot9TUVaD6CvtqDS8Scod8hHZtJU5kZmIHMrmBJ8o6bpgXWo7e9w1I+3 fVKOSbg6mSNRteUU88fM8IvEcEQWox8I4zuNgskan+MWBQqF/H8uWLJpQFFUqiHiBu KhNEaZKVb3pJkNoy2LvYJzvcpE5KcAYtMOrw1F0o= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Geert Uytterhoeven , Javier Martinez Canillas , Dmitry Torokhov , Sasha Levin Subject: [PATCH 6.4 233/800] Input: tests - modular KUnit tests should not depend on KUNIT=y Date: Sun, 16 Jul 2023 21:41:26 +0200 Message-ID: <20230716194954.500581489@linuxfoundation.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230716194949.099592437@linuxfoundation.org> References: <20230716194949.099592437@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Geert Uytterhoeven [ Upstream commit e0f41f836f5e861bdcaf4719f160b62dbb8e9485 ] While KUnit tests that cannot be built as a loadable module must depend on "KUNIT=y", this is not true for modular tests, where it adds an unnecessary limitation. Fix this by relaxing the dependency to "KUNIT". Fixes: fdefcbdd6f361841 ("Input: Add KUnit tests for some of the input core helper functions") Signed-off-by: Geert Uytterhoeven Reviewed-by: Javier Martinez Canillas Link: https://lore.kernel.org/r/483c4f520e4acc6357ebba3e605977b4c56374df.1683022164.git.geert+renesas@glider.be Signed-off-by: Dmitry Torokhov Signed-off-by: Sasha Levin --- drivers/input/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 735f90b74ee5a..3bdbd34314b34 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -168,7 +168,7 @@ config INPUT_EVBUG config INPUT_KUNIT_TEST tristate "KUnit tests for Input" if !KUNIT_ALL_TESTS - depends on INPUT && KUNIT=y + depends on INPUT && KUNIT default KUNIT_ALL_TESTS help Say Y here if you want to build the KUnit tests for the input -- 2.39.2