Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8561308ybn; Tue, 1 Oct 2019 09:50:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwc6UC0CCQrUigzHyQFLvHeg20HYvhI/eAd51t/YtbCAqxZ0ISJ6vczuajYClq2p9FvvqGb X-Received: by 2002:a50:9eac:: with SMTP id a41mr27217674edf.193.1569948611567; Tue, 01 Oct 2019 09:50:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569948611; cv=none; d=google.com; s=arc-20160816; b=vr8SEPG+iKkoHh4W8ErX964Ml4J6UjggcSwZwEHY1b0Sn0PXaRn05WbgNwQPIWFdzQ DVMJsDzYmFPnUPH0SF8ZbxoijlCHxaGZBuEyZ4sS2+l0rhkeR2DY2rjcH4ktHLr0tPix 7VoYtznuRNVElVcRvjpSytfZdl1st3LpaT+aqEesXyoXU5bdfZ9JwBWcxiwFffyNnTgk nUcW7f0Y4WY0sq8lOTqpjuasdwanlxQNj/5nBG7fUwMRSTz9WZ6YxMdPdWCGxfGll2KB DPjz6/w65DUhvf8fuby8XrQDRw9WTgh8BUzCjJqwcaXkV6IDZegMfmC4nUpDbw/VlTlw 1/iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=idbzkM4Uy3IgWjz+crMW94nlfJxR/IgtZnRXVc7jjQk=; b=qGWYt112dKFYLHr99eQxrWdK8axrZpY/PbhuzMQVchewdObHV0qWy+FT+WS8sPWhmm kH9rgT2s36gXYIoHLIOrNrVYbQcNMmwmIN6z2KedeVkmHzfeC7yKHs/Ra+Dyo6hWNmV/ CZUVpEnmL5qP9Ylpc1yfXxJVpnqYxpAun6gpPS8nF6PLmnYKSadMjguYssebv0sb0+pb nadUpP2jFch413QYA/AvmP8cn+/3d3tlK/VwRKJ+Jxe5sy4njcHrSO+XvPtiwvUvrc29 asxA0Whz5h7WWYz3Xqlo/nDeni29dnhx6Sg1lD92FgYoo57YUuELFm9vTVUR5uuqi0md o7LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pensando.io header.s=google header.b=ApBg4e0y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si9122734ejr.180.2019.10.01.09.49.29; Tue, 01 Oct 2019 09:50:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@pensando.io header.s=google header.b=ApBg4e0y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389839AbfJAQBq (ORCPT + 99 others); Tue, 1 Oct 2019 12:01:46 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:39894 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732809AbfJAQBq (ORCPT ); Tue, 1 Oct 2019 12:01:46 -0400 Received: by mail-pf1-f193.google.com with SMTP id v4so8309413pff.6 for ; Tue, 01 Oct 2019 09:01:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pensando.io; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=idbzkM4Uy3IgWjz+crMW94nlfJxR/IgtZnRXVc7jjQk=; b=ApBg4e0yJjPYuGCRnLEys1GKToPLkmDDLlkuiZK8QZQy0EDHWuth01D6nqOvq4KAng Z0xcmh0o0od7yoNPG8gHR80kaxpgRzAAktzpBL8shUTR1GFsfJe4mSG1hMAwKDOT1yWg J8ljpl4j3PadYPdWA7eAqvUwMwNQAiR3H8bZ5IZlzKO3SjwsFmclT20PH9vcvMoqiuDA G+xYsPanBp0ne/KalGKxAYfevIt56y1/L7mABnxch+Hf7TVW/9H/b2IYS92klbfZ49/x ptovyq44ZiQdLsVxb7ilymFMi49nWOXlRWTSakofVVx4o4PqxI1ItGnIC/E2AthqF6uW XvLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=idbzkM4Uy3IgWjz+crMW94nlfJxR/IgtZnRXVc7jjQk=; b=JdzCUn9qYOd64+f/AMloIbIab1jUYyemx/RoS5ZFoePG9z91mCcWHhJfQ500cAQ/RL 6yGiooB1AlF0W/zea8KvIobcHhNU19Q0jjLvhrLZmUL1x0cOEF780iUyVx25wHnnvurg RTj1QkuKrfRUS37lRXmdGx9eVUgYrSs7iMZw9lv1GErU9JejB5XMDGQSP8vnnavUc5kp eKiKPiCuB6SNl3Rv7jxeE/qNDAJvNeHcrNkQ+HcVX8NusdRwZ7MbqLEGf6jxNeNnmtsS aXyIi70fAbKudy7x6UIDMLW37UCiFcDn8+OmPcbHCc5Fprsivgdi0e6uLbHUc2arNHX5 fLOw== X-Gm-Message-State: APjAAAU25yfxczmmTUnEk3YAoQaOdE9YM77oPaRii94ELG9DoKM+zrs7 MZHRq3z4UauMMk6eiQ0ykwxhdtT9aUbm9w== X-Received: by 2002:a63:ec52:: with SMTP id r18mr31698670pgj.128.1569945704953; Tue, 01 Oct 2019 09:01:44 -0700 (PDT) Received: from Shannons-MacBook-Pro.local (static-50-53-47-17.bvtn.or.frontiernet.net. [50.53.47.17]) by smtp.gmail.com with ESMTPSA id v4sm15064179pff.181.2019.10.01.09.01.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2019 09:01:44 -0700 (PDT) Subject: Re: [PATCH] ionic: select CONFIG_NET_DEVLINK To: Arnd Bergmann , Pensando Drivers , "David S. Miller" Cc: Krzysztof Kozlowski , Leon Romanovsky , Kalle Valo , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191001142151.1206987-1-arnd@arndb.de> From: Shannon Nelson Message-ID: <57c673d8-a1f2-e759-7a7d-3cbf9b370d55@pensando.io> Date: Tue, 1 Oct 2019 09:01:43 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191001142151.1206987-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/1/19 7:21 AM, Arnd Bergmann wrote: > When no other driver selects the devlink library code, ionic > produces a link failure: > > drivers/net/ethernet/pensando/ionic/ionic_devlink.o: In function `ionic_devlink_alloc': > ionic_devlink.c:(.text+0xd): undefined reference to `devlink_alloc' > drivers/net/ethernet/pensando/ionic/ionic_devlink.o: In function `ionic_devlink_register': > ionic_devlink.c:(.text+0x71): undefined reference to `devlink_register' > > Add the same 'select' statement that the other drivers use here. > > Fixes: fbfb8031533c ("ionic: Add hardware init and device commands") > Signed-off-by: Arnd Bergmann > --- > drivers/net/ethernet/pensando/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/pensando/Kconfig b/drivers/net/ethernet/pensando/Kconfig > index bd0583e409df..d25b88f53de4 100644 > --- a/drivers/net/ethernet/pensando/Kconfig > +++ b/drivers/net/ethernet/pensando/Kconfig > @@ -20,6 +20,7 @@ if NET_VENDOR_PENSANDO > config IONIC > tristate "Pensando Ethernet IONIC Support" > depends on 64BIT && PCI > + select NET_DEVLINK > help > This enables the support for the Pensando family of Ethernet > adapters. More specific information on this driver can be Thanks! Acked-by: Shannon Nelson