Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4834522rdb; Fri, 15 Sep 2023 13:54:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2JE0WGHfZ6JeWFOqVU9l5LFkKFjwkgolfcP2K96WcunvJa4sUUYxgokU8i6ZukqUpAe1S X-Received: by 2002:a05:6a20:5506:b0:14d:792:aafb with SMTP id ko6-20020a056a20550600b0014d0792aafbmr2733292pzb.54.1694811261846; Fri, 15 Sep 2023 13:54:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694811261; cv=none; d=google.com; s=arc-20160816; b=fMJ6GcYUUSTQepLhgKAVSc1BPTM7ppPokt35tVI81f63fAbW/fZLKF1OrsbTX57hUg LCgVTf1WM3SJl+QxlpSQECIyXkbE4cZyi9mqQc1rlPl7XawZAW6cEnd8Eg5L9+HGA7XF oznmCCCmSm0yG9xYPcI9A/mq1nbhHHUQ7GSBm/mL5362/9sHS46lJSrSn1mDIyBO0/p8 MHIfZsb5FYYZPeg8XYmnqVn8EHUCdQD8KGdeJyl47nK4eDfc5wRM/YHXn0OhXVmh+R6a /eFRrEqVXwn6X0Yj9+sDp7ZHv6pR+dDBT+hLRKuI9tbKuwfaZboE1VhXhBoT46sGpVYW FBmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=leftU7vnx6ubtSCIPio+hyF+23cQ6uL5tDPuDZIs4dk=; fh=iwn8HN1BnrcHkAAkvTHW81Djl42fNE3IdjAmJoXBTcA=; b=a+xVmJT9A5JSaTukckGOuqiAEWheEhtM8toteXQp3vLpkTG6+7hdkE85Tii8St6H/b I/wtVl0z1y0KHIvKVu+eV0zeThnktkzTgS5zFpXjvRN8Nvui7T1t7yRDiXXEyPpEUURs Chf5vV4OLVZl/bMSjyHqEgPmfokgbSRDs3/62TtME9zH+UnNdCDlbAqQWEdr4wAlwnHI 0RN49OVp9dbTGNXJKs90mB/nlJTwTztQAIdMLYSibQ2T9b7pYL/Cl7V8rX0t0v8DI5gX FPTgKKO4/sRrPpdhbKodsk2u/NKwb8IFWvi1M1rZdHVXF31hXDLtOfU1PNl8UPkC+3Jv fo+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YYqjIA6P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id v70-20020a638949000000b00573f867019fsi3651315pgd.443.2023.09.15.13.54.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 13:54:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YYqjIA6P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 8CA2781EE3AB; Fri, 15 Sep 2023 08:49:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236270AbjIOPtD (ORCPT + 99 others); Fri, 15 Sep 2023 11:49:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236457AbjIOPs7 (ORCPT ); Fri, 15 Sep 2023 11:48:59 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFDDC2710; Fri, 15 Sep 2023 08:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=leftU7vnx6ubtSCIPio+hyF+23cQ6uL5tDPuDZIs4dk=; b=YYqjIA6Phg4gWr7cpr90C7AQMG JPBckC5Gp1gat/6r+oY6tjpgDW2+MFCpZSMEDW3nt665gO51B+Du/Mg+YnEcWoAb7R3hkyhcBF0cT PiGlO3s6ZnHcXbXKr9QsStIrRq0KhTZYMPGQ7jfzMdzS2VGcoau6RYdsgxnbVP072afdAkyhPatLG T7R4OmlL1OWfWdfFPXGK0eifZ+B1dEwoWLHTAJiq6rYRw+hlrr5G9jZkOw2q3TFKN0+WiYKPfUx5q n1WOC1qIBz9/wzIHSnpi6BegyzrRyOFcNMFftrs34uJ4iHR5x9pAKQsQnbWWnlbkq1dVk4OtR1B/P BhPoA3uQ==; Received: from [2601:1c2:980:9ec0:e65e:37ff:febd:ee53] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qhB3C-00B13L-1W; Fri, 15 Sep 2023 15:48:10 +0000 Message-ID: <6b507126-c4e6-40f2-9574-fe1abb0463ee@infradead.org> Date: Fri, 15 Sep 2023 08:48:08 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Documentation: kbuild: explain handling optional dependencies Content-Language: en-US To: Arnd Bergmann , 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 References: <20230913113801.1901152-1-arnd@kernel.org> <874jjwx44g.fsf@intel.com> <763b1599-06b7-490e-9cbf-eb07f1deedb3@app.fastmail.com> <87sf7fvqiz.fsf@intel.com> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 15 Sep 2023 08:49:42 -0700 (PDT) On 9/15/23 00:44, Arnd Bergmann wrote: > On Fri, Sep 15, 2023, at 09:34, Jani Nikula wrote: >> >> IS_REACHABLE() considered harmful. > +1 absolutely. > 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 -- ~Randy