From patchwork Thu Aug 29 10:05:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Rothwell X-Patchwork-Id: 1155128 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="Rf+LakrM"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46JytF0HQHz9sDB for ; Thu, 29 Aug 2019 20:05:57 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726988AbfH2KFw (ORCPT ); Thu, 29 Aug 2019 06:05:52 -0400 Received: from ozlabs.org ([203.11.71.1]:35671 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbfH2KFw (ORCPT ); Thu, 29 Aug 2019 06:05:52 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 46Jyt45h40z9s4Y; Thu, 29 Aug 2019 20:05:48 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1567073149; bh=tf1ypQjpP9xJVJX8gDPglx7QvW/vyQ5w0EeNCZAjaZk=; h=Date:From:To:Cc:Subject:From; b=Rf+LakrMJi3Ly9wRsysR6j+BSTKi1WG9tqSgbDFJwkPgEDTu9PeFF7MnAI28J3/+b IlJIqH6rOgVuBiszuRDpOl8krgh37lYuMWz9gAQuTwSzbX2Xa2LlxU7Kq7thtMfORQ tL8riXi/0eROZAGqgLph6Sh3pPS6+bummMgjX6//9VekptBpC8u5uIAAKnSvNps77Y z7CvlUZp3Re/VczRR5wmBv1jFwsQ2wXbV3FdK3rGkV/QneJI4VqKAB1UZr0doXsF0w H2tsdQmLk4KACN+sdbFsEpqCvUQRJszdkUQb7QBrrNi0n3RLG8X9tF1wE1QpTgovUq vaA5snTCxahAQ== Date: Thu, 29 Aug 2019 20:05:46 +1000 From: Stephen Rothwell To: David Miller , Networking Cc: Linux Next Mailing List , Linux Kernel Mailing List , Voon Weifeng , Ong Boon Leong Subject: linux-next: build failure after merge of the net-next tree Message-ID: <20190829200546.7b9af296@canb.auug.org.au> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi all, After merging the net-next tree, today's linux-next build (powepc allmodconfig) failed like this: ld: drivers/net/ethernet/stmicro/stmmac/stmmac_pci.o: in function `.stmmac_pci_remove': stmmac_pci.c:(.text.stmmac_pci_remove+0x68): undefined reference to `.clk_unregister_fixed_rate' ld: drivers/net/ethernet/stmicro/stmmac/stmmac_pci.o: in function `.intel_mgbe_common_data': stmmac_pci.c:(.text.intel_mgbe_common_data+0x2a8): undefined reference to `.clk_register_fixed_rate' Caused by commit 190f73ab4c43 ("net: stmmac: setup higher frequency clk support for EHL & TGL") CONFIG_COMMON_CLK is not set for this build. I have added the following patch for today: From: Stephen Rothwell Date: Thu, 29 Aug 2019 19:49:27 +1000 Subject: [PATCH] net: stmmac: depend on COMMON_CLK Fixes: 190f73ab4c43 ("net: stmmac: setup higher frequency clk support for EHL & TGL") Signed-off-by: Stephen Rothwell --- drivers/net/ethernet/stmicro/stmmac/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig index 2325b40dff6e..338e25a6374e 100644 --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig @@ -200,6 +200,7 @@ endif config STMMAC_PCI tristate "STMMAC PCI bus support" depends on STMMAC_ETH && PCI + depends on COMMON_CLK ---help--- This selects the platform specific bus support for the stmmac driver. This driver was tested on XLINX XC2V3000 FF1152AMT0221