Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1973047imm; Fri, 7 Sep 2018 08:55:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaLDI2Prf8ApXvDXHoySyxDtHm79xLxLuX8gEjcoixBBUCwTjTfhiMSNNspoxtMHKc0mRAO X-Received: by 2002:a63:4506:: with SMTP id s6-v6mr9081883pga.422.1536335719712; Fri, 07 Sep 2018 08:55:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536335719; cv=none; d=google.com; s=arc-20160816; b=gcfAuYT/NWYL7r1dK5iWnH1B4S6eC7FwBA64Wc/8nBo7x4uIrFbwtVdEimvXn6bSJB WytIbMBb3d9FPVw3To6/q/zOzY1BahYWhOijcAijjURJkCNi/712kB/88B9YyH6CpEZh iJmuLtzGh0AmrtUJXZWY7BHcgWVU/qS19uM0zcxTdlqrqiodS6yBQLtSpa9x2n33YsS6 Snei19q0VJSwnr9MPw/8oSO9LkKdjoxQAbPbBo4sNGYd5Cp2G4Uhmj5S6r1/DPdMn1Dw 6n6IHk1S7ikXH66IvL7W2uw5X+ZYhnDbf6ySsTTmAGCpW3M0gL09IQWRfihgJTbFfvOA TC+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=r8DFbcrRk+dmswMKwqtmdqgaK3CQLkAsParcaxQcrdk=; b=FTc+7EbtO+x/kDt5rzzlyk5nFz4ZH2VoG8cnV4snnMe2uAGaJgE/1EfEfaskc1TPM7 9OTT6ambNDIjXPqG0eG6fJRD39syW9dLKOV5FKeVjmWGNndg8yPt2/a2AU+vPe1aXi+L YMc5tSoN/oNhR01vuwkrCh2Ys9/86REMPlsT9UmgI86Az89x78VU5NKIYKAttClvcUw7 /f+w8zmoqIX5LZ4TAo61/YWs/JbLavLs/kmRMNyF+z22jPxlGP7aBDDUygb0HKis7dQo mEuK31mZ3tfEcKw79aNkxImHO/pbLncivGkB4nmyHsIUR7PmMKqQOOQCdDRHk8J17Rzg u5hQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 7-v6si8984338pgq.637.2018.09.07.08.55.04; Fri, 07 Sep 2018 08:55:19 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730189AbeIGUMK convert rfc822-to-8bit (ORCPT + 99 others); Fri, 7 Sep 2018 16:12:10 -0400 Received: from mga09.intel.com ([134.134.136.24]:48726 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728153AbeIGUMJ (ORCPT ); Fri, 7 Sep 2018 16:12:09 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Sep 2018 08:30:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,342,1531810800"; d="scan'208";a="88057773" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by fmsmga001.fm.intel.com with ESMTP; 07 Sep 2018 08:30:44 -0700 Received: from orsmsx116.amr.corp.intel.com (10.22.240.14) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 7 Sep 2018 08:30:43 -0700 Received: from orsmsx115.amr.corp.intel.com ([169.254.4.230]) by ORSMSX116.amr.corp.intel.com ([169.254.7.225]) with mapi id 14.03.0319.002; Fri, 7 Sep 2018 08:30:43 -0700 From: "Keller, Jacob E" To: Stephen Rothwell , David Miller , Networking CC: Linux-Next Mailing List , "Linux Kernel Mailing List" , "Kirsher, Jeffrey T" , "Bowers, AndrewX" Subject: RE: linux-next: build failure after merge of the net-next tree Thread-Topic: linux-next: build failure after merge of the net-next tree Thread-Index: AQHUQxdRgVQMKTBaEkyNaCDZFitIB6TkcHKAgACIk2A= Date: Fri, 7 Sep 2018 15:30:42 +0000 Message-ID: <02874ECE860811409154E81DA85FBB5884C7B651@ORSMSX115.amr.corp.intel.com> References: <20180903094702.3e32d8f5@canb.auug.org.au> <20180907102055.001777b8@canb.auug.org.au> In-Reply-To: <20180907102055.001777b8@canb.auug.org.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzdjNmFhZTgtOGQxNi00MDM2LWIzMzAtNzhjMjU4MDdhMGRkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY2hiclRRcVdwMnR6eEhjVUNndmd5TXdqMDhvb0hwY1wvWng5TTAwOE9QWVRCbGQ4MFlXdjZvYzdzakYzXC9YRkprIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: netdev-owner@vger.kernel.org [mailto:netdev-owner@vger.kernel.org] > On Behalf Of Stephen Rothwell > Sent: Thursday, September 06, 2018 5:21 PM > To: David Miller ; Networking > > Cc: Linux-Next Mailing List ; Linux Kernel Mailing > List ; Keller, Jacob E ; > Kirsher, Jeffrey T ; Bowers, AndrewX > > Subject: Re: linux-next: build failure after merge of the net-next tree > > Hi all, > > On Mon, 3 Sep 2018 09:47:02 +1000 Stephen Rothwell > wrote: > > > > After merging the net-next tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > In file included from drivers/net/ethernet/intel/i40e/i40e_ethtool.c:9: > > drivers/net/ethernet/intel/i40e/i40e_ethtool.c: In function > '__i40e_add_stat_strings': > > drivers/net/ethernet/intel/i40e/i40e_ethtool_stats.h:193:20: error: function > '__i40e_add_stat_strings' can never be inlined because it uses variable argument > lists > > static inline void __i40e_add_stat_strings(u8 **p, const struct i40e_stats > stats[], > > ^~~~~~~~~~~~~~~~~~~~~~~ > > > > Caused by commit > > > > 8fd75c58a09a ("i40e: move ethtool stats boiler plate code to > i40e_ethtool_stats.h") > > > > It is not clear this patch has any value anyway as the moved functions > > are only used in the file they were moved from. > > > > I reverted that commit for today. > > > > The same problem would exist in drivers/net/ethernet/intel/i40evf (where > > a lot of code is duplicated from drivers/net/ethernet/intel/i40e) except > > that this function is not declared inline there. > > Luckily, i40e_ethtool_stats.h is only included my one file > > drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c, otherwise there > > would be multiple copies of __i40e_add_stat_strings(). > > > > Surely there is some scope for factoring out some common code between > > these two drivers? > > Ping? > > -- > Cheers, > Stephen Rothwell There's some discussion about this going on in the intel-wired-lan mailing list. Thanks, Jake