Message ID | 20221127155230.144886b7@endymion.delvare |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5155825wrr; Sun, 27 Nov 2022 07:02:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf4JN0ZIJaUE7BI6GTffjeuUZhFzl2cEv1SUQbOCUiZlBV8EFc3LvHpJNiklaJ6okYAO3nty X-Received: by 2002:a65:53ca:0:b0:46f:ed3a:f38b with SMTP id z10-20020a6553ca000000b0046fed3af38bmr28824013pgr.387.1669561339238; Sun, 27 Nov 2022 07:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669561339; cv=none; d=google.com; s=arc-20160816; b=VA3hOocK2eAN6EES69S9cwzsWZ5+vlusZKSNBRdbiS7jRlzCgFW2GPkRcX4PzCGqqO faRG2IsxM8OhmFa4FZ0KpM/qq1fRTp5ojg85ejMTFgVP6jiTd5XQDUJZMxC4W33edvo4 4PGvLHdsKX8SeBp5KKTJWX4YHOpvCiquVpR/vQlUeH91k56mMlnWNVTwwsoMsEexrnQh Txb9Cyc7eAj2OvgAZ0+18Zi13K4MHL0w+zRZj5rb5Z4Ns0RIdm2s5P5J0pAeHpyZknzP YhUoJwu0MCUnoGkL0DtRTPvD0weLap43XCiaR/dg3FJOhGIxPUq9pwFDrntbApyXJM64 J12g== 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; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cq12-20020a17090af98c00b0021011c16872si11382028pjb.44.2022.11.27.07.01.57; Sun, 27 Nov 2022 07:02:19 -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; 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 <rfc822;chrisjones.unixmen@gmail.com> + 99 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <jdelvare@suse.de>); Sun, 27 Nov 2022 14:52:31 +0000 Date: Sun, 27 Nov 2022 15:52:30 +0100 From: Jean Delvare <jdelvare@suse.de> To: linux-usb@vger.kernel.org Cc: LKML <linux-kernel@vger.kernel.org>, Matthias Kaehlcke <mka@chromium.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750661950760977344?= X-GMAIL-MSGID: =?utf-8?q?1750661950760977344?= |
Series |
usb: misc: onboard_usb_hub: Drop obsolete dependency on COMPILE_TEST
|
|
Commit Message
Jean Delvare
Nov. 27, 2022, 2:52 p.m. UTC
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 <jdelvare@suse.de>
Cc: Matthias Kaehlcke <mka@chromium.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
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