Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8382338ybn; Tue, 1 Oct 2019 07:23:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNKdpkoUmQyoULDBRqwfJ7bfbUY1NGwZRleZ5xq0/2wsK02n24GJOeN+gr03qi5zE5DJYx X-Received: by 2002:aa7:dc4b:: with SMTP id g11mr26222351edu.70.1569939795643; Tue, 01 Oct 2019 07:23:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569939795; cv=none; d=google.com; s=arc-20160816; b=0sxJ38Wf5HdIWUvw6bvakLXu1dE/QYuGmlLbwKkn+M2oUCK7MxZf6v3lWdaIcnFNxX IJsrdJuhlDHGvW1ZqKXpTUrdW779bw6B+3QFekraHgBy2BO3GveQ0+jZMGDB7B0R/qkO AE9enoGUrm9dqLNDtK/DanjI++KyDe1pznMtpbWJmQeYEwCNrnxzX6pw/8IhGHbRp/8L riExfVJ5Kz7PYFpXHIi1QXF7cSBDX1LUIHFHTZ2CkPFeMh3+YFkFMfqKcTSHQ4UeZktN FyD+dWgkLeRsqqVf8YjICXch/yyRa5WQGByFNy/Btt+rNW+lh3FhlJuVbwEkZZvazifw 9nTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=xcIlbYHF7QgWuO8hnttJhGtzw5wkqcdbHyZhxD573Zw=; b=LcCLnzI8vuHiWBd+xLupGQBHGcJjzUmy51C6lZpMnJGSKX8pjajrbpyT80+XNr4Uj1 7/tJwVkBO7CKbr/k8EX5f+CNUTjfRgxvgKTYJe3CktAL2sGdKGWDheF8QH756IggKrf8 rlCpxOB7//jz6ehui59pGMuYs9yzoBIHi/nwMQzYmITNawcQMPQlEtCM+GnaamnYWTES XtPb0Zf48wsBrZyT8QvR66ZP13OQI7+FLa1s117778YN72MGvNQ8MgL+TuBF/BuxBhFt ZZoUxQH4smxQD2PcK5QyRYfCHh8rrvM/i9JnN4OhwhoW+WhXe7MC/hyHHLpU0gtQk2pn 8MlA== ARC-Authentication-Results: i=1; mx.google.com; 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 n13si8778378ejr.34.2019.10.01.07.22.50; Tue, 01 Oct 2019 07:23:15 -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; 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 S2389038AbfJAOWL (ORCPT + 99 others); Tue, 1 Oct 2019 10:22:11 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:39489 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389016AbfJAOWH (ORCPT ); Tue, 1 Oct 2019 10:22:07 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1N6c0W-1i4vN93b6E-0182Dk; Tue, 01 Oct 2019 16:21:54 +0200 From: Arnd Bergmann To: Shannon Nelson , Pensando Drivers , "David S. Miller" Cc: Arnd Bergmann , Krzysztof Kozlowski , Leon Romanovsky , Kalle Valo , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ionic: select CONFIG_NET_DEVLINK Date: Tue, 1 Oct 2019 16:21:40 +0200 Message-Id: <20191001142151.1206987-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:u7qraB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eMLIsaE4MkyLXi8mIBMm/COZZ8f38v mrNtqFYZYeryLGnHc0gxkhtwhu5EAG/HVUcYZjbYKY/u4b8wdrbHvDH9y8jn5/yqBQsI1uCml 1gYQhpOD05qEjFY6s5LA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.20.0