Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10703700rwb; Fri, 25 Nov 2022 07:04:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf6XAQ+04z5DRYx/QnKmPwVlrAgijMypfsMvXp1e2DuWsnuTBoYltdoO51NPxCeRcP1Ligwv X-Received: by 2002:a17:902:f7c1:b0:17f:66ae:b84 with SMTP id h1-20020a170902f7c100b0017f66ae0b84mr21797837plw.32.1669388697319; Fri, 25 Nov 2022 07:04:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669388697; cv=none; d=google.com; s=arc-20160816; b=C26PShyJvWG4dA/MuqH3ZUzIw1jhqnCCM20XOKZfkJUPgIpok34PZ25AfdasmWiEHi cuJFbq+mrPVgiKydt8ZOgrimSt0AduYxAp3RfVSUpO8zD7R7DQmbLZ87siOWoX6tmF6w 7g78OSytPZjtlBFNlIH0oGHcRvr5GZN5NELyCd1Mu3dGiJuruuGLke+lodl/TajwfYPa WZSKQiExleFPi6OBxbcGCChastf1LHHNv4Vs+6ociDSsgWzG4/hWwP/TD7ZNACZDyivr 4OnwROdJbdtXgQ69VPNZJWw+HvrEOqgBBBQ9tfPfq9KZCQHpth2Iay+iqkAY1eydjy0d H+8w== 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=gHRjihEIn9Cp9Gu2BUUhHxdO/VDWVhUBtMD1MJ0iOIA=; b=b5bO+6GLyT1M3ut/mQx9G6YgwIjsJTNmyXMRvwlCUQD5LSI+g2gnpJewRzUGWE4DKL sJXZQQ0/CrUiSy3T5WeKEeAW5aqmn72dZwiUUM+uZKX6zNwWl+iAWHicntbt+5mBvss/ ZjZ5bvmv7LoyVsglY4sdEyiVOoYGezwfFcb6WEY8yRHxNkINS/d6tcRbnDB08JN4E4vw /EckwnF1Wiq4nmnP/1iDL0xHpHE7bYS6GbettiZWrLZPU2XGHYgZz6ahGKaWlxIDNBvz 8lDcqTfZmWp2OjVzEb2KGE/M52CgdZeE/wCzT+096y8U53KkumerPV1wpQ0VC6wZ0KjO sjeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=VJ7+sL5V; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w62-20020a638241000000b00474673969f8si4512524pgd.154.2022.11.25.07.04.44; Fri, 25 Nov 2022 07:04:57 -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=VJ7+sL5V; 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 S229587AbiKYN2D (ORCPT + 86 others); Fri, 25 Nov 2022 08:28:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbiKYN2B (ORCPT ); Fri, 25 Nov 2022 08:28:01 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABB0F20F5B; Fri, 25 Nov 2022 05:27:59 -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-out2.suse.de (Postfix) with ESMTPS id 60B861F8D5; Fri, 25 Nov 2022 13:27:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669382878; 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=gHRjihEIn9Cp9Gu2BUUhHxdO/VDWVhUBtMD1MJ0iOIA=; b=VJ7+sL5VxdP0Kdv+71iYChbm3Xgags4EH2dQMXSrDfRum4ZI0ZTE3KHvmil3QzsF0EWSX9 N0UgobqVTlvEoszJNbDMCbhzShLGHZrXyUptpitxev36DyiGhuYb8GAv9e06k/MjACy3IU tzJl9Ol7Ibqj24Yv4t6kzZD1cKGaCxM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669382878; 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=gHRjihEIn9Cp9Gu2BUUhHxdO/VDWVhUBtMD1MJ0iOIA=; b=iiSLh3Kq4T1LNO9fmIfIGGidAxQuvXCR4VBaMO1rvCAGb/WVG1BOHnD0T7KV1d+I/41YRj eO/Fwwgx3HQrbUCA== 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 201561361C; Fri, 25 Nov 2022 13:27:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id gkZBBt7CgGP3TAAAMHmgww (envelope-from ); Fri, 25 Nov 2022 13:27:58 +0000 Date: Fri, 25 Nov 2022 14:27:56 +0100 From: Jean Delvare To: linux-serial@vger.kernel.org Cc: LKML , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Joel Stanley , Greg Kroah-Hartman Subject: [PATCH] serial: liteuart: drop obsolete dependency on COMPILE_TEST Message-ID: <20221125142756.3e51a28d@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: Karol Gugala Cc: Mateusz Holenko Cc: Gabriel Somlo Cc: Joel Stanley Cc: Greg Kroah-Hartman --- drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-6.0.orig/drivers/tty/serial/Kconfig +++ linux-6.0/drivers/tty/serial/Kconfig @@ -1519,7 +1519,7 @@ config SERIAL_MILBEAUT_USIO_CONSOLE config SERIAL_LITEUART tristate "LiteUART serial port support" depends on HAS_IOMEM - depends on OF || COMPILE_TEST + depends on OF depends on LITEX || COMPILE_TEST select SERIAL_CORE help -- Jean Delvare SUSE L3 Support