Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp13601228rwb; Sun, 27 Nov 2022 08:12:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf5/MMsXHBrPmPxuVknMeF949uwUnuPUk6G2eO7OU3J4GeF9EAw6ITzwo8KJE6llaKvPYExz X-Received: by 2002:a05:6a00:1c8c:b0:574:89a7:9450 with SMTP id y12-20020a056a001c8c00b0057489a79450mr17316179pfw.85.1669565528769; Sun, 27 Nov 2022 08:12:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669565528; cv=none; d=google.com; s=arc-20160816; b=cS6M2CJsp44WBSFHtO734XAz0hF3fwAELx4lKHDovk8hyH7vLRTf4V1U3vjiDaVgFi +aBa6+/BBDp49vz1jeSJge3zQHKayAPUZ7fBvHwiXVMaMzbyu17DzYVmFaQCFPpFHU3W sC2xop6IxY5tdi2Z+yx/RL+WAJkifuJBMLZ06yey6iNXF4PngG/7XZ7787LBep9lxZIZ Ri5MvawoT6hVWK4Xws3BqNPG4DvRdfuUMWsLyrhD+vYqjb8adkpfQYv8Z+YrVi0fK1N+ Ncv/EyTZwmCuXp+v9z4CP/HL638ITMMjjBBw1NsMmdZfCDTA4jsCDOQGGs+5mgLVMnkr gffw== 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 :organization:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=uGCmWgHRCB1XEw4nEtRb3Itymxy+KuQ10BXGquguuj0=; b=0dJg3U1Fmq1l8SnLPldQ0b78cVNXP0SS1Mt9uJPpFpSOKMpmwdPv+QH8KqWY0VyxT6 Lni73Ccw/f34Ssbavnup3B6fVTe4IEt5DqKikEdzzFcY6F4k8U0q3KT2VYamGrn3KQYA GUSY2llzjNI2qkiFKbolGrSAf9hJ19wPauQZjJCxmtAH9EILs2hg6y8v/a/hlRpSF3FZ HJt9aZ9IvyHpHLdqr+spaMnkAfPcc8UlGWcki9uJH+9xBiq6nAkbpJXwy5e6PBXnaE/m 5UBfv+XY+F8AjP9PhHKVBwllzqJZ0ssRQUMmXXCQHGtxaBET853/G55rpUjJqCdVpflD E5Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=iu71He1g; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id np2-20020a17090b4c4200b002130d0f6df8si9832693pjb.30.2022.11.27.08.11.58; Sun, 27 Nov 2022 08:12:08 -0800 (PST) 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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=iu71He1g; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229606AbiK0Owh (ORCPT + 85 others); Sun, 27 Nov 2022 09:52:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbiK0Owe (ORCPT ); Sun, 27 Nov 2022 09:52:34 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2A161089; Sun, 27 Nov 2022 06:52:32 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 5E83D21B2D; Sun, 27 Nov 2022 14:52:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669560751; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uGCmWgHRCB1XEw4nEtRb3Itymxy+KuQ10BXGquguuj0=; b=iu71He1gjh3KuhXknf6MZr57jbZpPyCd7AKGTl/YqXjoOb6Y42lOpxkfOSVdwJbuFG3POW GCHj1XRVjk+R4eSMhIdklSxG1THciX/kgoSuUoSdWSb0DxcOur98i/EeU6rTFxnLf4XVfq 63FDaU+PmycaDDmtsZW1sdLq73s3xYQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669560751; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uGCmWgHRCB1XEw4nEtRb3Itymxy+KuQ10BXGquguuj0=; b=ec8gXkjDlh1plvqoiV+rjr15h69FYpn9gNhiyF3pSTRsa3m4ovVrVJ0ZpwQgHPxPbWmP1D vjsQGRcOXbQOoxAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3265A134CE; Sun, 27 Nov 2022 14:52:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 91+2Cq95g2O5SQAAMHmgww (envelope-from ); Sun, 27 Nov 2022 14:52:31 +0000 Date: Sun, 27 Nov 2022 15:52:30 +0100 From: Jean Delvare To: linux-usb@vger.kernel.org Cc: LKML , Matthias Kaehlcke , Greg Kroah-Hartman Subject: [PATCH] usb: misc: onboard_usb_hub: Drop obsolete dependency on COMPILE_TEST Message-ID: <20221127155230.144886b7@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. It is actually better to always build such drivers with OF enabled, so that the test builds are closer to how each driver will actually be built on its intended target. Building them without OF may not test much as the compiler will optimize out potentially large parts of the code. In the worst case, this could even pop false positive warnings. Dropping COMPILE_TEST here improves the quality of our testing and avoids wasting time on non-existent issues. Signed-off-by: Jean Delvare Cc: Matthias Kaehlcke Cc: Greg Kroah-Hartman --- drivers/usb/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-6.0.orig/drivers/usb/misc/Kconfig +++ linux-6.0/drivers/usb/misc/Kconfig @@ -298,7 +298,7 @@ config BRCM_USB_PINMAP config USB_ONBOARD_HUB tristate "Onboard USB hub support" - depends on OF || COMPILE_TEST + depends on OF help Say Y here if you want to support discrete onboard USB hubs that don't require an additional control bus for initialization, but -- Jean Delvare SUSE L3 Support