Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1915227pxb; Sat, 27 Feb 2021 04:34:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxEc43CS2j1vWVAIbaqjeb/4V8EjfbhUmGz+Scm01C5agT6t8/7OeKPHbGx3DuhzNPS5Osj X-Received: by 2002:a05:6402:1594:: with SMTP id c20mr7889828edv.92.1614429262742; Sat, 27 Feb 2021 04:34:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614429262; cv=none; d=google.com; s=arc-20160816; b=W1gwlTd4pH/iGP1E7AlWJ3zOBRiC/LXC3V+CAJQ4veV9WSKfP/UlkrL+Y/Z5i7bC1z BAPH77OaIuI5Pg/LnavBMQ8Mhwj3aXzesHQWNYDEsoOu8lyncC5tT3uapp+4YUYMDdOt bWew1LWqyiLtGrjuHz7IUjDqqFEvOic06oVwZmDkf0CYhYpGeiSRYAONJNnJdZ2fxkBB WlwllOqRGxB09AswLfcHF0vlhCwlogHc0Cui/NXw16SS6sfqkbI5Ws1dGiF7/kilVey+ RAIUIc10f1fmoavn3EbJkn5vJaIpliKYZr+EL8Dec9lFJRMRVV91vxoY22eDWVYgrS8J KOrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RipctUDYuXTQDK6W0m8yKaPXTcBsS+r6IMcucbvsN/o=; b=Hd42BplUSzUTSxWBrxOrPMzTOYJdoAySLYZS/tRwrxchxCRQiwwZDlkAdXOHb43NBs HkHFaM1PpKwynxp/njhjU7v8V9as3Qb+9F7JQkmFYda2ysWKlZ+o4eoZLfEi5Wg3cHBj Tk7c/wG1maQ67kN81oVPsO+57XPJzOy7qfP1XRBpv6nlLmzTvzcdqK37C+rXEB2RIWUF 2Ut8fej2Qv0AAhDOx2HYkgNssxrnmYj0jZZ4bRfvQ4Lxjpr1bqdlD2QjzumZvgs/oAVZ qBTdi9YAmFg0/roVaTVGje8meVI6m/Upeb8dHIrt5t7hOdxPtbOZ5Whue+LovLxumj3R ydKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GlkK5zzF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si7668661ejo.534.2021.02.27.04.34.00; Sat, 27 Feb 2021 04:34:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GlkK5zzF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230075AbhB0McU (ORCPT + 99 others); Sat, 27 Feb 2021 07:32:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:41338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230041AbhB0McS (ORCPT ); Sat, 27 Feb 2021 07:32:18 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1D27864EED; Sat, 27 Feb 2021 12:31:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614429098; bh=xCbEHh+FkWpSJkLJVph2u7gMhzOwLYE0/eak4nPjjxI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=GlkK5zzF3cOoHDgGOwPCURT5LSJHIiIjfahVY7wyjoik5XrnsJ6f8Wct4rTnhveGM u5kpDEa54ghQ//woMoAdpCQyZPAEYWfgTlDOWeQuORMECtJs5srnpMyRDxZfUeildM tevzrjkIVXrsb09geHHAcflskXAqfuXYIR0EhjCb7rbDpFUVJ5cEiEuftX1q1eFbC+ HbYAd9YhxYoRbwTW10hKms88rePgnaWbomLAtteX+iNpGMHTjmH3F1TDRqo7tQTUvd c2Whpu5GCDHX0Ggmd3njgIDDQUYdRJ1u7uggg0Cmc3s/WWa4VpyT06zzJXw56ET1Dt kL8q89WL5fWpg== Received: by mail-ot1-f45.google.com with SMTP id k13so11762488otn.13; Sat, 27 Feb 2021 04:31:38 -0800 (PST) X-Gm-Message-State: AOAM533z/LdoTn2IyI1UuKayxVZPTD5+jFlgYmGoUZTSMOTt9XUZ7IzL anipH1k4RvBZT41nM2fn3XmeSbO3/Gq61em5HBo= X-Received: by 2002:a9d:7f11:: with SMTP id j17mr6368646otq.251.1614429097292; Sat, 27 Feb 2021 04:31:37 -0800 (PST) MIME-Version: 1.0 References: <20210225143727.3912204-1-arnd@kernel.org> <20210225143727.3912204-2-arnd@kernel.org> In-Reply-To: From: Arnd Bergmann Date: Sat, 27 Feb 2021 13:31:21 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] PCI: controller: avoid building empty drivers To: Robert Richter Cc: Lorenzo Pieralisi , Bjorn Helgaas , Arnd Bergmann , Rob Herring , Lad Prabhakar , Yoshihiro Shimoda , Bharat Kumar Gogada , Yicong Yang , Jiaxun Yang , Daire McNamara , Kunihiko Hayashi , linux-pci , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 8:08 PM Robert Richter wrote: > On 25.02.21 15:37:10, Arnd Bergmann wrote: > > A possible double inclusion isn't really nice here, but it should work > that way. > > Also, the menu entry for the driver is in fact only for the OF case, > as it is always included for ACPI even if the option is disabled (and > thus the choice is useless). But this is unrelated to this patch. Yes, I considered doing this using Kconfig syntax by adding another symbol for each affected driver and selecting those, but the Makefile hack seemed easier here. > Reviewed-by: Robert Richter Thanks, Arnd