Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4166679pxb; Mon, 27 Sep 2021 10:45:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeDLk4HfGE0mfcI25FXxNPJmxI2UadkXPYbNgIPTpeNlD0pMKcKQ6J/86NCaWa85ozAu04 X-Received: by 2002:a62:31c5:0:b0:447:b30c:9a79 with SMTP id x188-20020a6231c5000000b00447b30c9a79mr869803pfx.67.1632764729995; Mon, 27 Sep 2021 10:45:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632764729; cv=none; d=google.com; s=arc-20160816; b=v/d8NZ5d/RqFkKpJwwQ8cJx4VnAcSz0f0ZajFRV5Fidg7I8C76oA0d9NpfIwjiZ7p7 mpEKIx1cQkmytWjS1wngQV2nH0cHoKfLltPa8vXWsPmxDHuCZ3gyi56DVYmcBiTNFIaE kfG8eTgEGCgvj/wd3sha/itxDtNCOmXCJgbAl/H5PYXBM9C6UlQ5ypyPBPuLDr4ODUMC MRDuJTu7JzQ8cDp2FN0zCJuajF9l7qUKSK+bLnq3XA50OeOuimxFJZORly7Hp4tTqK6C rzgoSmjTcsi0swRLGeQF5PymiZ69aXv4XKNIPS0oZr+xs4cvSjSXdAwIlMsl6GQ0VRdU XE1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Tuo3Xlhz2os7VDgU+ijCbNqBDAwSA/JjNqSAqMgTX1w=; b=VN9kv9jiJwFa+R+21DBcOmGr9tr6kRu4uGktha4vZa3iQGe4cMG48lP9m8NwaJLHdf V2CFdSgRIW3k6kti0W+CVul1uj94MpMUZc+gGFgRI5I96zPWfaNooNuEqmE36QyP96cL AHfpfIdFefruSkOH6FJFSRNAdFB7XKTNvpO4sPux+ioSDM85dq0YXmaWM7DTjtVxzTY+ EThMk4j87D5e3GOx7Rjjz35kGYIRJNNdux+rHB0q7ssBFXS9kCbGqDmuZk5pqRleRvE4 NjBMYwOboYP7XxLvL0QEaZIzZsBa3vngJltlb7uIv5v19fkw5EGapKaXrQgJ7VUhi+NC 5VVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UUzzkuQc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f23si22631263pgj.268.2021.09.27.10.45.16; Mon, 27 Sep 2021 10:45:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UUzzkuQc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236636AbhI0RqB (ORCPT + 99 others); Mon, 27 Sep 2021 13:46:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236117AbhI0Rpx (ORCPT ); Mon, 27 Sep 2021 13:45:53 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B03A1C018EF2; Mon, 27 Sep 2021 10:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=Tuo3Xlhz2os7VDgU+ijCbNqBDAwSA/JjNqSAqMgTX1w=; b=UUzzkuQcfw7Ji5T0Xo8gQC7d7g tI/9svse5ugB+HrmpmLg3dsquXkVIe0khPTdU/P2PBizBzhhYKKePz872zy7TqwU52rpnps3fjpUg 5ic89gPZXKwIz7CU0x/3B/FT2ISr+rz5+H8kRZdkgw5u2rW8EmQCGshw5QwOk0bOHfXIvDC4DvNHQ 4HCUYHCC1SCf92F9bChuf5myAJinR9akt5d3+dswgGiGPQJ/L+CnJ5bTTLCTfmfzzO5jpNplWxCRQ 3d3ThT1LOVol/rePwFDL7UxGqfCwoSPCY6uP98d0BKEF3QUauZzYWviooENL5Y1EWSX/a1Lcjh8oX +fwBbIow==; Received: from [2601:1c0:6280:3f0::aa0b] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUuNm-003Zyz-SJ; Mon, 27 Sep 2021 17:25:38 +0000 Subject: Re: [PATCH] igc: fix PTP dependency To: Arnd Bergmann , Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Jakub Kicinski Cc: Arnd Bergmann , Jacob Keller , Shiraz Saleem , Kurt Kanzenbach , Dave Ertman , Shannon Nelson , Richard Cochran , Vladimir Oltean , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210927131730.1587671-1-arnd@kernel.org> From: Randy Dunlap Message-ID: <97f24334-839f-ba32-c343-73f7aba5b912@infradead.org> Date: Mon, 27 Sep 2021 10:25:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210927131730.1587671-1-arnd@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/27/21 6:17 AM, Arnd Bergmann wrote: > From: Arnd Bergmann > > The igc driver was accidentally left out of the Kconfig rework for PTP, > it needs the same dependency as the others: > > arm-linux-gnueabi-ld: drivers/net/ethernet/intel/igc/igc_main.o: in function `igc_tsync_interrupt': > igc_main.c:(.text+0x1b288): undefined reference to `ptp_clock_event' > arm-linux-gnueabi-ld: igc_main.c:(.text+0x1b308): undefined reference to `ptp_clock_event' > arm-linux-gnueabi-ld: igc_main.c:(.text+0x1b8cc): undefined reference to `ptp_clock_event' > arm-linux-gnueabi-ld: drivers/net/ethernet/intel/igc/igc_ethtool.o: in function `igc_ethtool_get_ts_info': > > Fixes: e5f31552674e ("ethernet: fix PTP_1588_CLOCK dependencies") > Signed-off-by: Arnd Bergmann Same patch is already merged in linux-next (via net tree). Thanks. > --- > drivers/net/ethernet/intel/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/intel/Kconfig b/drivers/net/ethernet/intel/Kconfig > index b0b6f90deb7d..ed8ea63bb172 100644 > --- a/drivers/net/ethernet/intel/Kconfig > +++ b/drivers/net/ethernet/intel/Kconfig > @@ -335,6 +335,7 @@ config IGC > tristate "Intel(R) Ethernet Controller I225-LM/I225-V support" > default n > depends on PCI > + depends on PTP_1588_CLOCK_OPTIONAL > help > This driver supports Intel(R) Ethernet Controller I225-LM/I225-V > family of adapters. > -- ~Randy