Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14625504rwb; Mon, 28 Nov 2022 03:20:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf5zTV8ZEX/P22ihHhxn1wfK+M3mX/3oTddG/YWehEoJuYvNrla8ZIFt62belzaW5ADxsXoD X-Received: by 2002:a05:6402:31ee:b0:46a:8bbb:8b0c with SMTP id dy14-20020a05640231ee00b0046a8bbb8b0cmr18535118edb.43.1669634441661; Mon, 28 Nov 2022 03:20:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669634441; cv=none; d=google.com; s=arc-20160816; b=0W1dHorK26eMrWR7kSi6N4vg9Xub8FabXcJeVxSxLa0IAJT6kLmE+b4SWP7BMD1Izm 447JyZHSFvV0q3iTQ+GMjNiJovOfpoSKrxEyvN6uHdBhCiPYceRCJJrLdX43rqH/smyC uuVuDycnXrzYPeffEaZoBZ2B5nisnZptl3efQnhZBMOlSka41f4DPSNOR0+W73P+nA7F v810FMpuONojEa5x4NQgUe1aR41Jx9pfRruCHDqUg9GjjopCIECbFHKo5s5/Hbe/ZDoX n/GKbTxKmXDRaHQcGjx3AMZf6IfuAGVu4kYsJ5BfA8ni3bXx4ncvqaS3ieHlOmoigetl TNAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=KjoMeZpXsRBrTEI45Zmp9CHKGLVbLrcmDTc8fksNk4c=; b=p044x0gWX8f+dJxuu9mEHgObTORhn9FzpUskVihyCNq9xx0Prd9E9D6ENI+9Qg4jFY 2PyhAT40g5V5FT3kpBavWKawmw8zDfd6AOlAvvVMZq45n3eoSIiKx0/daHD3KfKf0ZMv 8eOSnmVdF9rTxStaXhzOFFb7fGsBIzWTlihN/g+kd6Ffyea+MW1rxS47q7z45K1rw8Fw NhzZy4lCGKdKcH6wfZtiFWoZE7IR14x0yhuhvpqw7pNqqRjHreU09V5BqpKlXqNWvKeJ gDiFtXeWwgIG9mlN4YbXREchouyStAgwseWRgBWlXXgRqVl8FamOf9jbvMdXvME7w1Lb G4dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=x0QOeJ3C; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a056402270800b00456eaa4fb1fsi9764075edd.223.2022.11.28.03.20.21; Mon, 28 Nov 2022 03:20:41 -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=@microchip.com header.s=mchp header.b=x0QOeJ3C; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230447AbiK1K70 (ORCPT + 84 others); Mon, 28 Nov 2022 05:59:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230143AbiK1K7Y (ORCPT ); Mon, 28 Nov 2022 05:59:24 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEB2812AEC; Mon, 28 Nov 2022 02:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1669633163; x=1701169163; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=nG8vAVvrG6D6LC8ebeOkxEt0G/Epw+RgSwZ++d7qqoA=; b=x0QOeJ3CLIX+OUnAiTAV7/3qs+PUshpIZPuDPLaSbNv98OAPu47Ogn/T n/xoTCeL8kkdMQx2lM6f97J/zgNuE1KK/HwFxAzKfrdoZTuUOuHiXg6xg nkokMOawHQDLEensa+v7bw80uo0KX516nVvsTuL+mLR2LUd1YIuIMDXC3 3aTi5TqhzSugA3wnHSzIZYmcX26Gt0PcRF8G8JK/RrcjYwGjM3dx6g9is I8D8JY5m6yZiqCHWGjrE23h8ZrdLFpztoJwpvyBht3EjlEY1dVRJCWoYE YzY5Hy6lM+9JYSohs5+MZdEZow3MuKyZKlCfNtCaLNnHb+sqPMpASJvIz A==; X-IronPort-AV: E=Sophos;i="5.96,200,1665471600"; d="scan'208";a="201651230" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Nov 2022 03:59:23 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Mon, 28 Nov 2022 03:59:23 -0700 Received: from [10.159.245.112] (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Mon, 28 Nov 2022 03:59:21 -0700 Message-ID: <717e921f-af8f-f235-e2f8-e2fae2b31e9a@microchip.com> Date: Mon, 28 Nov 2022 11:59:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] usb: gadget: udc: drop obsolete dependencies on COMPILE_TEST Content-Language: en-US To: Jean Delvare , CC: LKML , Greg Kroah-Hartman , Alexandre Belloni , Claudiu Beznea , Michal Simek References: <20221125170444.36620123@endymion.delvare> From: Nicolas Ferre Organization: microchip In-Reply-To: <20221125170444.36620123@endymion.delvare> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 On 25/11/2022 at 17:04, Jean Delvare wrote: > 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: Greg Kroah-Hartman > Cc: Nicolas Ferre Fine with me: Acked-by: Nicolas Ferre Thanks Jean. Best regards, Nicolas > Cc: Alexandre Belloni > Cc: Claudiu Beznea > Cc: Michal Simek > --- > drivers/usb/gadget/udc/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > --- linux-6.0.orig/drivers/usb/gadget/udc/Kconfig > +++ linux-6.0/drivers/usb/gadget/udc/Kconfig > @@ -33,7 +33,7 @@ menu "USB Peripheral Controller" > config USB_AT91 > tristate "Atmel AT91 USB Device Port" > depends on ARCH_AT91 > - depends on OF || COMPILE_TEST > + depends on OF > help > Many Atmel AT91 processors (such as the AT91RM2000) have a > full speed USB Device Port with support for five configurable > @@ -430,7 +430,7 @@ config USB_EG20T > config USB_GADGET_XILINX > tristate "Xilinx USB Driver" > depends on HAS_DMA > - depends on OF || COMPILE_TEST > + depends on OF > help > USB peripheral controller driver for Xilinx USB2 device. > Xilinx USB2 device is a soft IP which supports both full > > > -- > Jean Delvare > SUSE L3 Support -- Nicolas Ferre