Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6629075rwr; Tue, 2 May 2023 03:17:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4QJfJTgWetq8c8WNU+2MutlqoAUQ1Ipl2wZbcKaXVcbtFvfkGHPFvF46l276qkzSMlZKzA X-Received: by 2002:a05:6a20:6f03:b0:f3:37:7d6 with SMTP id gt3-20020a056a206f0300b000f3003707d6mr16495584pzb.9.1683022640902; Tue, 02 May 2023 03:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683022640; cv=none; d=google.com; s=arc-20160816; b=cSPwvH6WfbVdGDVy2Ce5jU80XubwQiR8iJFodyu/5FLfyXCJlaT9OX2rIyHKOLnzSo Gds7c76FGmllf9JK4zlIMBl//de1FoKhkjCQtpwdg3F+H7nY5UN1K6Zd8bAXr7fyNEmf Xzp0gaG49REbgUkVC1UId9f4L2O57WWv9dN1RWC/YERAc37aXSkZSDv+dpYZQEQA6481 EHm0u8Am56yPfEb5z7e0xmikw6vQQ9Z8KfeDVi/DnKXlz5uIKpyZGvVoYZJRyDPwoWSw +v5XOo03huWzyOYYi6cRRctU127u42BICgqchjUAK6NrP2m1IBibQbnokA8iZyvKPFxA +EOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=66LRaqKW1K34XDh6Kl4pTd/V1jtm0hj4Ww5GAuVA1u0=; b=czXFF+/vOGxX6rJwdPNslMlSVV77NvE1g24jGc5iqJmBBPxO9melcVxWLWhsyQcnsX Af2U0+tu0dtpFU4Po8qegIsnh7Sl/8+IYaDsTYYjHfbL3BjsPBoV9+ggqk5TtitEz0jV d0+n6rYJGttUakOCnGQmpty9MJLr2e0EufbnIHINBrq4O7sYv/ys3CgUrQqWNpV6kdDu C0JIVEVT8jPcTpMiSHBVvkO3wEN9Nf2bMeXfvbGwDCGAeYSYpfTjzbCx6Je/u+O/toud soaoMViXEw+dZQPoc6AVzIvML9Cr7BCGbza6zOJQ4ek57qJ0LUstTUl+MQs4Uhe5NuO8 +FYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs128-20020a632886000000b0050f9b910fa1si30148589pgb.368.2023.05.02.03.17.06; Tue, 02 May 2023 03:17:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233286AbjEBKJS (ORCPT + 99 others); Tue, 2 May 2023 06:09:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjEBKJR (ORCPT ); Tue, 2 May 2023 06:09:17 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D5B51BC7 for ; Tue, 2 May 2023 03:09:16 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:f07a:92a2:297:162b]) by laurent.telenet-ops.be with bizsmtp id rm9D2900A5FQxRj01m9Dcf; Tue, 02 May 2023 12:09:14 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1ptmwX-000ylh-Ag; Tue, 02 May 2023 12:09:13 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1ptmwb-00AtKF-Ao; Tue, 02 May 2023 12:09:13 +0200 From: Geert Uytterhoeven To: Jiri Kosina , Benjamin Tissoires , Daniel Latypov , =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= , Brendan Higgins , David Gow Cc: linux-input@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] HID: uclogic: Modular KUnit tests should not depend on KUNIT=y Date: Tue, 2 May 2023 12:08:59 +0200 Message-Id: <36ddf432f0f46530875fa15f002012c921a380a3.1683022021.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: 08809e482a1c44d9 ("HID: uclogic: KUnit best practices and naming conventions") Signed-off-by: Geert Uytterhoeven --- drivers/hid/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 4ce012f83253ec9f..b977450cac75265d 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -1285,7 +1285,7 @@ config HID_MCP2221 config HID_KUNIT_TEST tristate "KUnit tests for HID" if !KUNIT_ALL_TESTS - depends on KUNIT=y + depends on KUNIT depends on HID_BATTERY_STRENGTH depends on HID_UCLOGIC default KUNIT_ALL_TESTS -- 2.34.1