Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5551557rdb; Wed, 13 Dec 2023 11:56:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWQHDqgcJoTOXk7Ux6N1nzGDG2n7coo5NZb/IVRrEjnEECPuEuhfTenTEE01hZef92KBvE X-Received: by 2002:a17:902:b683:b0:1d1:d30a:17b5 with SMTP id c3-20020a170902b68300b001d1d30a17b5mr7857854pls.51.1702497415631; Wed, 13 Dec 2023 11:56:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702497415; cv=none; d=google.com; s=arc-20160816; b=Trt3blRSJrDYZNUwCtZGRQyo5AJ2cP4U4r00+uiJwz1+e5kPUOD1q80Gb0SqjoD0+D n/UIfjRPP7xgWFGZFpobeRqmWsgwlpXsAVkZVaUPtEqvEDDXktEONZ4YMPYfFDq5rQ5h z1ZrazJ4z3LEmyWyHrtjMuf9tgRA3/43YnzQQ9Zj8BKWdR81WCngXhkKO/giVD0gJYCm sHEAHwHCergSn6CQdnSOBOqfQPb9eDtIM/acYD4Zb+bJU0DNpBtuG1aSEvCfPQhWSI4b ZjMCOPT2KUEQCsmjzigaLgwvdVSra6QoEhfnTJ1uHT9zpEsbOdWFOIy+/4AHODOnejxR 20GA== 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:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=H2qsN/iaV0CRX41UUJSJKQP49f05Rmy6AEHOYxqrZGc=; fh=MwC0qCpFj8km7YM+J3LeDtY7U9rdZLigYOGVHtPBf6M=; b=x4Qfe24xJHty73HnYbcGdXmaDdafqSj9W+SEL+yOAJa7RIfLHXpxqaGJHxnZsLb4mt xZQSO6bE91snd50OTL1u2ezU1fQYdtdrrq9Hb//VKXNwzHGKqYw4TtFrxetUPE9DsqW+ ge/T7wuYfy0OtsLgdNi5lzS4r/Jbwn1nX8D3r7naYPwbMiRJKONNnmek+t1edjP3ZUkS ocfHIr1AO0LsJh7myeu+W1cDhKtnYPJDKyX/Q5mmXtB9W5nMA8as265lno6US160hHHR pn9M9qzimgPkPPdPbQRK/6TlThmIcNR/mUPf0kZD3HoVthUviKdkAXB/C+6Cr99AvMku 2OxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=EYBXgPCW; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=xF9Avnod; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=EYBXgPCW; dkim=neutral (no key) header.i=@suse.de header.b=xF9Avnod; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id t18-20020a1709028c9200b001cf677b6c20si9792577plo.594.2023.12.13.11.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 11:56:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=EYBXgPCW; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=xF9Avnod; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=EYBXgPCW; dkim=neutral (no key) header.i=@suse.de header.b=xF9Avnod; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id EFA2880977B0; Wed, 13 Dec 2023 11:56:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442461AbjLMT4Z (ORCPT + 99 others); Wed, 13 Dec 2023 14:56:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442655AbjLMT4A (ORCPT ); Wed, 13 Dec 2023 14:56:00 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FCC8D4C; Wed, 13 Dec 2023 11:55:42 -0800 (PST) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8EEB521E1B; Wed, 13 Dec 2023 19:55:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702497340; 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: in-reply-to:in-reply-to:references:references; bh=H2qsN/iaV0CRX41UUJSJKQP49f05Rmy6AEHOYxqrZGc=; b=EYBXgPCWZ6kgC/R7FPhFermGCT/ximCUoEFI1bE6It6L8PnCl1jZK3oN6qtuo/MqRbufPe 2PaDPzPoWXpnIAlSBYTgK5Vcjzuanl1fB7tfrEafwUSgJql8DsgnlGZE/o0Jlr7t1mLSVJ Ij3Tq9JCqhzPs2oc2xgNt2nD2+BVuog= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702497340; 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: in-reply-to:in-reply-to:references:references; bh=H2qsN/iaV0CRX41UUJSJKQP49f05Rmy6AEHOYxqrZGc=; b=xF9AvnodfKvDMza4v3ik8xo3JYR1nGfWrozkG5r2n+iZDomzBBd1c6UuJr6UJ+pdy27urr 2tpHyA5B412NOzBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702497340; 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: in-reply-to:in-reply-to:references:references; bh=H2qsN/iaV0CRX41UUJSJKQP49f05Rmy6AEHOYxqrZGc=; b=EYBXgPCWZ6kgC/R7FPhFermGCT/ximCUoEFI1bE6It6L8PnCl1jZK3oN6qtuo/MqRbufPe 2PaDPzPoWXpnIAlSBYTgK5Vcjzuanl1fB7tfrEafwUSgJql8DsgnlGZE/o0Jlr7t1mLSVJ Ij3Tq9JCqhzPs2oc2xgNt2nD2+BVuog= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702497340; 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: in-reply-to:in-reply-to:references:references; bh=H2qsN/iaV0CRX41UUJSJKQP49f05Rmy6AEHOYxqrZGc=; b=xF9AvnodfKvDMza4v3ik8xo3JYR1nGfWrozkG5r2n+iZDomzBBd1c6UuJr6UJ+pdy27urr 2tpHyA5B412NOzBQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id CD8641377F; Wed, 13 Dec 2023 19:55:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id GtZIKzsMemWiBAAAD6G6ig (envelope-from ); Wed, 13 Dec 2023 19:55:39 +0000 Date: Wed, 13 Dec 2023 20:55:34 +0100 From: Jean Delvare To: Lee Jones Cc: Pavel Machek , linux-leds@vger.kernel.org, LKML Subject: Re: [PATCH] leds: rgb: Drop obsolete dependency on COMPILE_TEST Message-ID: <20231213205534.0101fd56@endymion.delvare> In-Reply-To: <20231213153838.GM111411@google.com> References: <20231202214353.7c02f23c@endymion.delvare> <20231213153838.GM111411@google.com> Organization: SUSE Linux X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.34; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Score: -3.30 Authentication-Results: smtp-out1.suse.de; none X-Spam-Level: X-Spam-Score: -4.30 X-Spamd-Result: default: False [-4.30 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-0.989]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%] X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Dec 2023 11:56:53 -0800 (PST) Hi Lee, On Wed, 13 Dec 2023 15:38:38 +0000, Lee Jones wrote: > On Sat, 02 Dec 2023, 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. > > > > Signed-off-by: Jean Delvare > > Cc: Pavel Machek > > Cc: Lee Jones > > --- > > drivers/leds/rgb/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > It's not clear to me what this patch improves. The patch description supposedly explains that, I'm not sure how to word it better, especially considering that 24 similar patches have already been accepted by various subsystem maintainers over the past 18 months with the same explanation. The purpose of COMPILE_TEST is to increase the build test coverage by letting developers enable drivers which would otherwise not be available on their architecture or platform. Given that OF can now be enabled on all architectures and platforms, using COMPILE_TEST as an alternative is simply no longer needed, and there is no reason to keep dead code. Cleaning this up has many benefits: * Makes Kconfig easier to read. * Makes it clear to the reader that OF is no longer architecture or platform dependent. * Less work for the dependency solver, so faster make *config. * Avoids copy-and-paste of an obsolete construct to new Kconfig entries. Lastly, I can quote an explanation which was part of my earlier submissions but was dropped after someone suggested that it was too verbose for such a simple clean up. Maybe you will find it meaningful: 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. Hope that helps, -- Jean Delvare SUSE L3 Support