Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8562805ybn; Tue, 1 Oct 2019 09:51:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzF9uznKSr60QcS0yZPHIKUHYXfWakpE6YlAZWSFPhTV/mh3ot0quVog8Bg0UNd79HYUPQS X-Received: by 2002:a05:6402:17a2:: with SMTP id j2mr26782246edy.121.1569948697612; Tue, 01 Oct 2019 09:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569948697; cv=none; d=google.com; s=arc-20160816; b=j70onBkbNPoBwPsfBnMdsHW071IKT45aMeNaOom5iD8VHjR7ut4lKIKaDzpIz4NmzU vuA0cu8FJD3L/yWaaVtU900qbBgdusE4fhOK+ONDsEPG+bZ+8xF3444ltsaQkhiMvblo NwmFyhzHxTdWviDiwyGpKQLjr84Wh2xmLgivY1xW+5vJJZAtUABIKBiXAXrrE92BtaOK Yl3D/pMZRWF4TSnmIIBJiiiT2fAhF7QjntRrZ02xOAdYKw/GVC47A3hH70mBIr+ss/Fz bU0LuRd6nb09r0W5HZMNIysFi+BZreuYrbYxXYMRqcrm4oCXpau9nxqBWslvKta8iiMq /78g== 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 :references:in-reply-to:from:subject:cc:to:message-id:date; bh=h1Um18NNJ5CRCu+x4075e+H94V/AjlmQQTEYUVsu7f4=; b=QAzY70F9it3MyWaYwkg4BW3pzjxjgJv25Lh3EBgocH0WfpbJte1LukHJGiQfPkyXJS uWd6GCg9KiQv0CQWaNqnHhF7qz7RpK0C2LT21YOSSXzyjyWc+8SC4SYdhNu9i0F6wsj1 ozMn1LYUo7jGyXT9fD+jEIZCdGUc0n0Z0+YzX3vkgDkeck5jzLfjjhgfE5m+jkn7T9He 7KBE6+4mJwQILtZZ3YQaMpWh5LuJXzqh5qHqqY9OM3m98Na/08Suc4Nw9GHfMbs0bYBR hJwyetmNydgxKf3jKA0M7FTFfDp+5VQfu0A1Ms5b+5rcRBtYWGsmhZRfHymxeSarMylz QzLg== 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 h13si9864424edh.242.2019.10.01.09.51.13; Tue, 01 Oct 2019 09:51:37 -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 S1728883AbfJAQY5 (ORCPT + 99 others); Tue, 1 Oct 2019 12:24:57 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:49306 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725843AbfJAQY4 (ORCPT ); Tue, 1 Oct 2019 12:24:56 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id C7EAF154B2B38; Tue, 1 Oct 2019 09:24:55 -0700 (PDT) Date: Tue, 01 Oct 2019 09:24:55 -0700 (PDT) Message-Id: <20191001.092455.1322622179723053160.davem@davemloft.net> To: arnd@arndb.de Cc: snelson@pensando.io, drivers@pensando.io, krzk@kernel.org, leon@kernel.org, kvalo@codeaurora.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ionic: select CONFIG_NET_DEVLINK From: David Miller In-Reply-To: <20191001142151.1206987-1-arnd@arndb.de> References: <20191001142151.1206987-1-arnd@arndb.de> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 01 Oct 2019 09:24:56 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Date: Tue, 1 Oct 2019 16:21:40 +0200 > 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 Applied, thanks.