From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5417729423; Thu, 11 Jan 2024 16:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="GNueH/jD" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=3whPCu9T/Xx4lp3PbnviQeKrWYOvHEvUnRUF2/ZVJe8=; b=GNueH/jDQxY7E0hVBtBkZvMDNe QHEcr5GY06S1/x9WTP44SAIM+p5+OwpXT4ulanTRQoHVZ6ZIHlFmSGTtwnZ9I3bIUGlacwcjGlNkj fsJmZhB89a7BOHa8jKYinZf5I35G+OkDMNHCdgYOCs5EVztVYn2vIew/poHInP+y0Y0c=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rNyEV-00510l-F5; Thu, 11 Jan 2024 17:48:43 +0100 Date: Thu, 11 Jan 2024 17:48:43 +0100 From: Andrew Lunn To: Arnd Bergmann Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Arnd Bergmann , Jiawen Wu , Mengyuan Lou , Russell King , Maciej Fijalkowski , Andy Shevchenko , "Russell King (Oracle)" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [net-next v2] wangxunx: select CONFIG_PHYLINK where needed Message-ID: References: <20240111162828.68564-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240111162828.68564-1-arnd@kernel.org> On Thu, Jan 11, 2024 at 05:27:53PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The ngbe driver needs phylink: > > arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_nway_reset': > wx_ethtool.c:(.text+0x458): undefined reference to `phylink_ethtool_nway_reset' > arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_remove': > ngbe_main.c:(.text+0x7c): undefined reference to `phylink_destroy' > arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_open': > ngbe_main.c:(.text+0xf90): undefined reference to `phylink_connect_phy' > arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.o: in function `ngbe_mdio_init': > ngbe_mdio.c:(.text+0x314): undefined reference to `phylink_create' > > Add the missing Kconfig description for this. > > Fixes: bc2426d74aa3 ("net: ngbe: convert phylib to phylink") > Signed-off-by: Arnd Bergmann Reviewed-by: Andrew Lunn Andrew