Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4168657pxb; Mon, 27 Sep 2021 10:48:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8IEINT1YMeZAlRB/9rig3wtefbpN2i95PMUyuaRj84TdkJyNazzeu4WlrZTqwuTTRBdDX X-Received: by 2002:a05:6a00:d60:b0:43d:f987:66be with SMTP id n32-20020a056a000d6000b0043df98766bemr1129991pfv.37.1632764884946; Mon, 27 Sep 2021 10:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632764884; cv=none; d=google.com; s=arc-20160816; b=nWnd5gVMpYZhxMnP7+Nkcei130GqTQdJ+6e96hIG/CvH/pt0gKgRdGoQHPEYjz8ZIb FXyw59GCfnn7qtjqNLzgzVwf3WTJ41NdXaB1c+vzW6mdYefPDN3d/no+ibhjupFjyGMk Z+ksOaa+zBK9DChNH2O7QtlgVmyQuZ+Mak3gjO3Sn9lL9LCawhBnK130DVnjFMYrvl6L 5hcoheCNi/IJyL9lQ/ReMYX9o4bAsIua3BHcYsF4dEcdwWn4hFbs5jkYhJK5CHg5jU+d /IlG7KRn9hTHXhMoafYkrqejrTvbN4AW8sX2blU3OV+kvB5Js4G7k1wfCK4zPtt1uD3a 3/Fw== 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=nupAYdVd/L9EJ9TKD+Kr1KJXgckH0yIhskHZjtigLq4=; b=mGEUHePcOJSzprAisc8clPN/UEFbz5SEwyEVulCzX7Ep76zoHHq1UBAuHShIMR0OMA 7iLsyH2pgQpAjEBP5zNiNssBept44GUhiZzq7TuMJFf3w+VyFLBWPSUwxynBuiCzDNW/ mQHRPuy4F5kgDxEi2isobf77XeryEH+m4S7OYJ3HkmAj28L9kWupbRy3TBq2qG6T9DAT pYgL4BvBzouLlywv8AD76NElf9fnQYxflpVhNqJg3kYXRZswtlvZ2jCD4lqWiYUJenNt xBcV/a1UwWrgSeKvR1GCkWUgJxmrEPiMjJnFzsKJeLpbLmCRByn06KG6HuO0PWMBWdhK R6Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="YCSbayd/"; 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 n8si21328427plh.356.2021.09.27.10.47.50; Mon, 27 Sep 2021 10:48:04 -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="YCSbayd/"; 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 S238114AbhI0RsB (ORCPT + 99 others); Mon, 27 Sep 2021 13:48:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236563AbhI0Rrp (ORCPT ); Mon, 27 Sep 2021 13:47:45 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F2F2C061604; Mon, 27 Sep 2021 10:33:04 -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=nupAYdVd/L9EJ9TKD+Kr1KJXgckH0yIhskHZjtigLq4=; b=YCSbayd/IXfFev4BOg+sI0IMgf DGrnCgHR+/iiUZdxn9NT7LO54pxmHqPD2GisW2GT7+rjLh8AmMeG/GluK9DNrUGsIME0oDtFyCiiY lHfA8xtw40JH3jhlMPGbuQcITHQWUjXg18y/t7zAsvGnEzjrcmOoeP+o89BKhgjjNZc1PENEPh4D5 R63dr0G1z9FIXV0dUX4HTUJxeMt8rYNPmhTCmpw8+pDdmVaEIQg4lpjM+Lk5qHfiXyw1ns2HMAVZ0 4IDFKxKM1lzN0R55SVCvyBQr3pSFX0bdqjQ71HmZG2xauet9bifcAaqz6B62Y+OLuSsXDKtCHipNA fQ6KtviA==; Received: from [2601:1c0:6280:3f0::aa0b] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUuUw-003chs-Vy; Mon, 27 Sep 2021 17:33:03 +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: <938261c5-62c7-dc0d-d4bb-fd45f20063bf@infradead.org> Date: Mon, 27 Sep 2021 10:33:02 -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 mainline. Thanks. (Sorry if someone receives my reply 2x. I had an email glitch.) > --- > 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