Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4511846rdb; Fri, 15 Sep 2023 04:46:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF1W3MGtfSa3Sr17qZIxEHU6MLi2rE6kp++9nI8HcaKKT1rtbC4KZOQ9mLiA4w1jZlNRaCr X-Received: by 2002:a05:6e02:1d86:b0:34a:c751:28ca with SMTP id h6-20020a056e021d8600b0034ac75128camr2139922ila.15.1694778399488; Fri, 15 Sep 2023 04:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694778399; cv=none; d=google.com; s=arc-20160816; b=ZJczwSDh/RJIW9tMT2AcgbhSJxh40IDWBJRNnzsLgw6S5GXZE1TAOiqF01tDGkv5aP QYc1KdinLQvfjUyoJfYv6lveLQZzBqC092CiSzF6quNmpXwYrKrNWqQJ4DNu+PdQ3ESB kNqxkjhSyue7Hjg+vZC3+HpF41pCZUb51XVWrmccZmvYz9Vpo7xyMzLfTKuv2yvOc5GV yVvG+eUf6/NFhE68bE1ME8fpKNCE8xN1QPUmbmaX6/+HtH3hPFxlmQ8ihtaJpmuSfJ4T fJQYcQxpN95MQ1DJpO1vu9OTmC42zhZllZ/Z20/9bHEBCuYMT0fnTRduRCKLe7BE7PRc 6SSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=t1TmiRsmiqzGQ86IPASUaWxEPOm0MoyVw2BuHDcx1xw=; fh=KSlo65gn02lqOOKsRkMKVDm2fIR2eN1zALZngxIRdfU=; b=gpG9Ym7dnuItNBGMpQ37vO4o1jjhUgwfsEz+jyvIiyN7yIqkfglaAZlZsAA4T7GDnL otzMuExKBNE1c2KuJjYpXQvgQIOlR9+L2rlPPxK3cH60Fc2OBcEKkKQFMnAMNyqWmKrw CwMW+fQ2H/Js7r69ggA5mYKPIuY9NHM1xZ+7SDb79vUau7sSU7zoYg+rRCVY1wPS3IZc L/E2g3M1ssbaznM5zjiZq+8Uawa2PZRAj95JBN0naRz4jrUcEZD0WGMAc11MloUPcb7b uroY9vYkcPwuJNNMKTwm1uf8QFumItIAGJFn2nKvEk2s4X/+Xt3HzF5IUzZH5gQqflh5 qUlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=r8mv8zbF; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="fv/Q9eaO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id o66-20020a634145000000b0056aa105b6a4si3028688pga.79.2023.09.15.04.46.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 04:46:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=r8mv8zbF; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="fv/Q9eaO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1F03282B6BD1; Fri, 15 Sep 2023 00:44:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232582AbjIOHoi (ORCPT + 99 others); Fri, 15 Sep 2023 03:44:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232462AbjIOHoh (ORCPT ); Fri, 15 Sep 2023 03:44:37 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F21C898; Fri, 15 Sep 2023 00:44:32 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 6A51D5C01B2; Fri, 15 Sep 2023 03:44:32 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Fri, 15 Sep 2023 03:44:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1694763872; x=1694850272; bh=t1 TmiRsmiqzGQ86IPASUaWxEPOm0MoyVw2BuHDcx1xw=; b=r8mv8zbFk6D6NxtTWI 5mrt+5aqlY9VERclZBOqynYlvQFmz5g0VRZo1yQtWxu22/tCGM3RsYXzS+IDI+Nx FcvUBpqQtWHAhJyIeXwCD4wOE695pcAiHGwi2SrKMQ197aH5+A8sh0rCA5UuNnhP wU5GfJ8EZX1DQ1vfHNGuaYRId1AVnZW9Ggddi+Js4rZKmYwnDFNqBzs1hCPueP9V ssEqWtyH1LMJVA37Sk2SazF/+slcyLe0zB3lES4rMk4I+F7Jra0AmvZlF2fHvFoP ZEUPF1f4zKa1V1YbeuxdR4z3Bprd+dn+WJwLWDmVZFyfnzCYIF4egnQ2HF1+0raT wM/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1694763872; x=1694850272; bh=t1TmiRsmiqzGQ 86IPASUaWxEPOm0MoyVw2BuHDcx1xw=; b=fv/Q9eaOSWkOsYmE3FHcAmRB+LB5F U83bqXTW6iJuNsmj2rkJj34MREv+3fcBw0S3ZyBxx4Lu+VbGOhBrkPTPHcQhzUkP pa24usN37PmVaErVKFLKydJlifoXjFY15ET4pMpILu/IPb9kW3tTAxZd0qAWmZzV kYRr7rMY4l4x/Jrn8+jqS1lK7cPu4mTonig6+VBvypJmmrKFkbT310hXDrrgkTIu 44NIzymrx+Q3nuaSIXsW2t42zcvywND/jlM6x0CmmJkprpioJDT/Ag5vniwk+HME +lgEvEBrlbVgY85gM8/ay029ekva1WRWvM3D4mCUlGl04DrGKVPuW5yTQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudejuddguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4D769B60089; Fri, 15 Sep 2023 03:44:30 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-745-g95dd7bea33-fm-20230905.001-g95dd7bea Mime-Version: 1.0 Message-Id: In-Reply-To: <87sf7fvqiz.fsf@intel.com> References: <20230913113801.1901152-1-arnd@kernel.org> <874jjwx44g.fsf@intel.com> <763b1599-06b7-490e-9cbf-eb07f1deedb3@app.fastmail.com> <87sf7fvqiz.fsf@intel.com> Date: Fri, 15 Sep 2023 09:44:08 +0200 From: "Arnd Bergmann" To: "Jani Nikula" , "Masahiro Yamada" Cc: "Arnd Bergmann" , "Jonathan Corbet" , "Sakari Ailus" , "Javier Martinez Canillas" , "Nathan Chancellor" , "Nick Desaulniers" , "Nicolas Schier" , linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Documentation: kbuild: explain handling optional dependencies Content-Type: text/plain 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 00:44:38 -0700 (PDT) On Fri, Sep 15, 2023, at 09:34, Jani Nikula wrote: > > IS_REACHABLE() considered harmful. Absolutely agreed, and I'm sorry I introduced it in the first place in commit 9b174527e7b75 ("[media] Add and use IS_REACHABLE macro"). At the time, it was only used by drivers/media, which used to have a lot of open-coded instances of it and a lot of wrong checks. Having a formal syntax for it was an improvement for drivers/media since it was more broken before, but it's usually a mistake to use it when there is another solution, and we probably should have tried harder to fix the dependencies in drivers/media at the time. Arnd