From patchwork Mon Nov 21 14:48:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 23887 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1648447wrr; Mon, 21 Nov 2022 07:15:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf6nBbpU1PHnsJshtYl7LdXUqssu/Cn2QhASe1GekDvOUInAvuqE16Sg37HtlyzgktVbffep X-Received: by 2002:a17:90a:ee87:b0:218:bb14:ba3a with SMTP id i7-20020a17090aee8700b00218bb14ba3amr3751150pjz.119.1669043716337; Mon, 21 Nov 2022 07:15:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669043716; cv=none; d=google.com; s=arc-20160816; b=xLgdE3aIAWv8tmSVFV+gb157655uLvyn/kGXPrVI9SlGObe/vhCKYtLdV5QbvDsw4N H60gajtW/nZPEy4DzRkABZGMWE2vjBa+VE1Fbdhg/NxVIziCLzALXjftBkUr8gspz31W 62hEwLfJQvcw1EPYpLswlThbnzozNL88lNJgNpvtgZmgYJLZvVMYU8Al7cuGkm4FQzJu zbXIK1LZl+Hq0voQAbH4JhTIc6BeH0E95p8H+y2nPe61VW0gnQ8jAlIFARGelKSXlx+d qnXcQvo7LnKbT+kcRsVbrrlYJNqiZpU3gD697Kyu96b+vYQ+Kz+ko8u73xfpQzMW97mv 5UKQ== 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=NUrS+lQaYIBygZZ1oRuFGgQfEIu7uBcQQX4r8VE3fkM=; b=FSS0WCEDG6LI5rsELbcu2HOHzi/x7AH/jv4G6TR0vp4e3tinHXk3nt9OCBSztir1/7 uduTswS37J64cm8wHlVpYWTlLW7iaWHa3qbXCbNaiabi8egBqbe2p6ExJhpg/FiO5uIW aG/Faz+xVlcRo2Oh95pSw6qAfx9h3BdlwOTIS8SULfaEqgz7+AfPWdNDzzotjg0vb2P2 64+rpLeayhrtaJIMvdgiB+5bzhnDXwLsMcyZYapWyOup01zV3OMBsKJ+49BHjKQvf98m RQ0cFHWMDBzqpDOpC2K4pa+2OhNMDKnDvJUZOlqCNRKBEefWC2vtIqXTcEiKj2tYFAOm G3Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=PBFlQT+3; 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 n36-20020a635924000000b0046f72960500si11193013pgb.379.2022.11.21.07.14.53; Mon, 21 Nov 2022 07:15:16 -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=PBFlQT+3; 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 S231989AbiKUO7Y (ORCPT + 99 others); Mon, 21 Nov 2022 09:59:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231961AbiKUO7H (ORCPT ); Mon, 21 Nov 2022 09:59:07 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FBF6D298A for ; Mon, 21 Nov 2022 06:48:47 -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 ECEF2220F2; Mon, 21 Nov 2022 14:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669042125; 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=NUrS+lQaYIBygZZ1oRuFGgQfEIu7uBcQQX4r8VE3fkM=; b=PBFlQT+3bMbK69Vfip/yAGjKaX45m43sql9gfp+GWnr9IiNme5M+eyDag/i4QECRNZzTW0 b3ZF9CD2W+OgEF1/XQDy5stgYVoDgnCppcOQqnBnP0PGoU1mrzHjKFjQPlzdkYq8wdz9Cy n5IrwrYX1Ck3gS6KIOPMB/ree6yD7Eg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669042125; 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=NUrS+lQaYIBygZZ1oRuFGgQfEIu7uBcQQX4r8VE3fkM=; b=p9O/fWo1+fQ35r1ITqCt66gcWpA/FBmLxXBsrhTZlxhDW54xwEjaEyFQJaRCTLRUx1bkTY CphoSnwo/4klYCAA== 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 B87F11377F; Mon, 21 Nov 2022 14:48:45 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id i7VoK82Pe2PoKAAAMHmgww (envelope-from ); Mon, 21 Nov 2022 14:48:45 +0000 Date: Mon, 21 Nov 2022 15:48:44 +0100 From: Jean Delvare To: Paul Kocialkowski Cc: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/logicvc: Drop obsolete dependency on COMPILE_TEST Message-ID: <20221121154844.385b29fa@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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750119183663191357?= X-GMAIL-MSGID: =?utf-8?q?1750119183663191357?= 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: Paul Kocialkowski Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/logicvc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-6.0.orig/drivers/gpu/drm/logicvc/Kconfig +++ linux-6.0/drivers/gpu/drm/logicvc/Kconfig @@ -1,7 +1,7 @@ config DRM_LOGICVC tristate "LogiCVC DRM" depends on DRM - depends on OF || COMPILE_TEST + depends on OF select DRM_KMS_HELPER select DRM_KMS_CMA_HELPER select DRM_GEM_CMA_HELPER