Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp996761rwb; Thu, 8 Dec 2022 05:42:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf5SNap/KT/Bl5o0TMZ0Rh+jg2RLmysIabx4b/ZsGocdAZ06tWs+nwOL5NZu6ApZtXBqWLVD X-Received: by 2002:a05:6402:505:b0:46b:aa:856a with SMTP id m5-20020a056402050500b0046b00aa856amr45371585edv.171.1670506932378; Thu, 08 Dec 2022 05:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670506932; cv=none; d=google.com; s=arc-20160816; b=Rp9H704ianUz3Kec2ezx9FVri4SKiQ4gDTqngIiF/ExUrko30GXfejRPHRK4v7B342 SelwSBkKcFaojSnvuYqDYs0LwT9rKh2EymL6qGWooEY+aaBlWlqw7JIAbJUWuQtUAQA6 CCiI63sHVgL+dOOIa0nw5TOHk4ObCyRJUWs6bZLhsVS0yJ6BQGkBHdiOwLQway8oHeOw lFQr5bDhPLJhEBFHkU/2XOCFSk4gSrDOmvbXkKNssC0q+HSWHaGTBuzJFRZA3rkfwl7Y PDLoqGNPv+Bs8BsHbR5+WXa2DP6mu21gNf5I2gRqEpviiEUpqyZwDnKjUiVMhc2xQy3E EKrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JE+TuzM6SMjSOvOUrGef9PdLnzMasp1+FIjlTo8Y4KQ=; b=DYsEIWAX3CH//dEbHlHStq5PjigLA09Qij95XYZGLIubHkQUIS22cHURSJjJnmYZBr 0jbbaSbdPxgB/pmpi5G8FOCgLJ04nMiMH70CPPcu8k+c5TAGXHrrC3RwpHAGMwb7mKkW kKP+6qSIZu/2TcjHWh3boPqMRLhbKMc3QzaZ2BD7N+/DdD9jrN9loyAuh37BLnSO6WDM Fvle1Dzp+vT+1dbpVnRsSlIGqYDIAN5OYtZeBsFu1l3UZT+R6y8HsED69BogR2nPiWAQ TlPozSryiAYvDMOxT/B3CTph/rltFF+d65PJ3RV7YIg+61aA5xY6tjIt58AFm5fI/2YF qXPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="UycRB4/6"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020aa7c6c8000000b00469054c7246si5811020eds.506.2022.12.08.05.41.54; Thu, 08 Dec 2022 05:42:12 -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=@kernel.org header.s=k20201202 header.b="UycRB4/6"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229788AbiLHNSB (ORCPT + 72 others); Thu, 8 Dec 2022 08:18:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbiLHNR7 (ORCPT ); Thu, 8 Dec 2022 08:17:59 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E1BC2A969 for ; Thu, 8 Dec 2022 05:17:58 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0AADB61F1D for ; Thu, 8 Dec 2022 13:17:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B64BC433D7; Thu, 8 Dec 2022 13:17:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670505477; bh=v1AMqLkYh7fKICo7N8T2Hn8qWxCuvv9yWp5eOf/ObEg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UycRB4/6G28HcMycky9G1W5e0c3IvNPlsbZgdBOx5xAuLu73sIFPpAsEBMEe/3igg jti72o0Adr7o2oB6qmn8d9vlOe5KQBo8zCtrsth8jdUdFQvCI0///yGuR78x8H+MCO 5vaNtQsY8vMEBPa2Cbg3wdVbddnAa9j1FlF20x8V9tRIXsXHaV1trWUINlDxIt82IA nsEzMqYE+tNu0S/x0Ay8ypdPJFrx6veijEbV5zVD1oi6Al5jbRTbnCM9ZBZMunk+Oe avKiBBMZhqfXsxnOu3NNVeJYvSaDDEkK29oAk2AqSWM245agrx9N6mu8wgCI68lbam ccaRMAI5b5Pcg== Date: Thu, 8 Dec 2022 13:16:01 +0000 From: Lee Jones To: Jean Delvare Cc: LKML , Bartosz Golaszewski , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Luca Ceresoli , Jonathan =?iso-8859-1?Q?Neusch=E4fer?= Subject: Re: [PATCH] mfd: Drop obsolete dependencies on COMPILE_TEST Message-ID: References: <20221122154134.58a7a18b@endymion.delvare> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221122154134.58a7a18b@endymion.delvare> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Tue, 22 Nov 2022, 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. > > As a minor optimization, this also lets us drop of_match_ptr(), as we > now know what it will resolve to, we might as well save cpp some work. > > Signed-off-by: Jean Delvare > Cc: Lee Jones > Cc: Bartosz Golaszewski > Cc: Chanwoo Choi > Cc: Krzysztof Kozlowski > Cc: Bartlomiej Zolnierkiewicz > Cc: Luca Ceresoli > Cc: "Jonathan Neuschäfer" > --- > drivers/mfd/Kconfig | 16 ++++++++-------- > drivers/mfd/motorola-cpcap.c | 2 +- > 2 files changed, 9 insertions(+), 9 deletions(-) Applied, thanks. -- Lee Jones [李琼斯]