Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4141546pxb; Tue, 26 Jan 2021 13:32:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJye6eqm8xJR85HhsrtUzJTe7N7eCfERuf6BMrsV+V0FJZlkdGYGSAPVdWM5Dm5ktcH5ekoe X-Received: by 2002:a17:907:104c:: with SMTP id oy12mr4668878ejb.503.1611696764544; Tue, 26 Jan 2021 13:32:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611696764; cv=none; d=google.com; s=arc-20160816; b=Rh3vDa/Q/MLtL6ZtTzE0JDtkKzyRELQhfLfVuxHUgmau4xzPi/2ktCWXiftE1VgL1k GYN+Wg91Jtu5DWJb9EVQf5zYvLXr/OPcVdxSA4uY/ONAF7ZY3S21FRtvCUV7ruAbakhZ Z1T0KV9iTcrx/Binltd7uIHMa+sjW82YeZ5Ut9vLf/RIQj2Gx6nXe1MLWoX1AZ/+VrVz zRVFDg1qRfTMWyfxuGanw1BUU1jd9Zv5qoh8GrHb/kyu9+hmUpu3KahYoYQ8w86ZW6XN lNYlkc4/BQSv9HmyqwQQkMxPET+s1+5SNejWI68tSQ9IDiNN7IihHtFB2HYKYevKi77e LCZQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Q7m1ehQOy9Fg7hM51iWn2m/YcRiSgRMqO1vmYwxXaNo=; b=jK4sOO0FYbMv/dLwbpzxTTgiiel6v1WvxI3k/2TqDVMWZdukvqnmU1E78IzDw4/Xev aAvbD0XKbzrjytNCQOEDi1v4mI9/jvzCxT+LHGC3b+n8/P05nhpg+yFE9fkR5HqXM+Du 8Ee0QTONLRkhZetPEZN6UTnBYeHPnOZzahUQmfYbdNFi8kn6g7BZqCcbM0+T+6zPHCMa NkuXMsHbp0uuRsOB+tq2aS4XJemCZWa3czLq/VJMOQw7JJ3xI3kp4hIZgzVcZO8+fUjG nhhwsZb7gZaKc8A3Sk8ibyZHqvxbF7EgpJh8pe4TItBfSkQjed2fUNGPo66whymbs/RD lCzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="G2/Q0fCo"; 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 a67si9475188edf.198.2021.01.26.13.32.19; Tue, 26 Jan 2021 13:32:44 -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="G2/Q0fCo"; 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 S2388248AbhAZFzr (ORCPT + 99 others); Tue, 26 Jan 2021 00:55:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:36724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728096AbhAYMam (ORCPT ); Mon, 25 Jan 2021 07:30:42 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 10558229C4; Mon, 25 Jan 2021 11:34:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611574489; bh=a2bSyOMO46IPcaFlhR4MH60Iu4lFxH8xggwH3p3rK9w=; h=From:To:Cc:Subject:Date:From; b=G2/Q0fCoKAJfCaoAmqMH2wmRka3USgb+UlOaBSbjvk/m2dkjMCVZ5+AWKm427llxi OnIgWX9MjYwhGs0QrApuDiD9OMdoXO860ehCMDcUjqFX1IndJ8c910aRUtZXzORSqK WHUoUORnj50bUZecM/JN/qMsRZM8KLANnLE9Ehvw1yHmxpwMqwmo4nsgJyU2g/4rK/ OL4qqzNXrBN3MUdI3p46WWWP/L+XzGzc0J5txZoWCxMcyO/A+w1wQKazU2c7eO8JAi Vf++JuIwIYV3rGH0sfxtPkn4354V8Se6FBwMmzi9bSUiwFputdpI2cUuNoZcuITvzv ehnC7OLzUer3A== From: Arnd Bergmann To: Kishon Vijay Abraham I , Lorenzo Pieralisi , Bjorn Helgaas Cc: Arnd Bergmann , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] PCI: endpoint: Select configfs dependency Date: Mon, 25 Jan 2021 12:34:39 +0100 Message-Id: <20210125113445.2341590-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann The newly added pci-epf-ntb driver uses configfs, which causes a link failure when that is disabled at compile-time: arm-linux-gnueabi-ld: drivers/pci/endpoint/functions/pci-epf-ntb.o: in function `epf_ntb_add_cfs': pci-epf-ntb.c:(.text+0x954): undefined reference to `config_group_init_type_name' Add a 'select' statement to Kconfig to ensure it's always there, which is the common way to enable it for other configfs users. Fixes: 7dc64244f9e9 ("PCI: endpoint: Add EP function driver to provide NTB functionality") Signed-off-by: Arnd Bergmann --- drivers/pci/endpoint/functions/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/endpoint/functions/Kconfig b/drivers/pci/endpoint/functions/Kconfig index 24bfb2af65a1..5d35fcd613ef 100644 --- a/drivers/pci/endpoint/functions/Kconfig +++ b/drivers/pci/endpoint/functions/Kconfig @@ -16,6 +16,7 @@ config PCI_EPF_TEST config PCI_EPF_NTB tristate "PCI Endpoint NTB driver" depends on PCI_ENDPOINT + select CONFIGFS_FS help Select this configuration option to enable the NTB driver for PCI Endpoint. NTB driver implements NTB controller -- 2.29.2