Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1273458imm; Sun, 2 Sep 2018 16:51:29 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZG3a5plUdHLIx8R4SVZVmWoNU1t7D+eLF/itLJ5/rn3Et6e1WBcUADFPtL1BBa9zGAuP2E X-Received: by 2002:a17:902:1025:: with SMTP id b34-v6mr25923562pla.291.1535932289206; Sun, 02 Sep 2018 16:51:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535932289; cv=none; d=google.com; s=arc-20160816; b=c+g/n2d9TaeBBJWUl4DTgZvXQ0CCmSIMcHSZakc8TkSVr93NhELoeg3KxbufSDnSQ+ wWzjRPynRqIpL05J4RlOPG7TqYrGS3/wusVmsCfFgIeVsh0wfHbrMAD+amnQXbRJvjVY qmLfB1iHj1mjcqxK4GJI/5/fURylzv2MABjDwZNtmjkV7cSH63lp+Qp6tBOngjOOfM7p fxbnVxwSRZccnhcXtCw2ZVXIHELMd1tXxZZJpQ2w/IpDzi3WiHjS5Yxd9fIIm8AmOh31 oucTjnQc0PNMfSuGQcLxPgcxnkBO0MeOSpXCu9IMt5dOsj9booysa6Rl8Z/u9lR8tAny 0Y3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:subject:cc:to :from:date:dkim-signature:arc-authentication-results; bh=aQ+BNsZciU5zx27yy/BXXTxIGq2pCXLakVjybswM8JU=; b=jt0r0uV/1X3N/w2cWBaB6r/cITZqt2uMl/4aTMQOzakzevg3CUOpt51XWrft9Cx+gU q3DYLgAWu8YuMdr0zjpjq5rwfIFF5P1VZTuEyOfkrTuIzwX/LX7YSeN7QYTLqN+6h7o+ tasTLH89juZCe5UJfEjg4pQoLdAN4es9ReU+r35EBGvgoPFO3Qj2nKABU9a2lSMuozvO sFXN8CRwBfB8Wle8DP1IcnfB+hmnMUU915c/ZoUoog426jx4WnZ0vzOXA2XEdKlOiqkr CM+cKZi3yHM9sp6bRYSqO6ZSvU+IRgkVUQ/k7CkEHGGtqmSgzLqfJNs3p9IWBizf7EZj X+Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=tQu73SFz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bd3-v6si7294242plb.382.2018.09.02.16.51.14; Sun, 02 Sep 2018 16:51:29 -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; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=tQu73SFz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725861AbeICEEy (ORCPT + 99 others); Mon, 3 Sep 2018 00:04:54 -0400 Received: from ozlabs.org ([203.11.71.1]:36053 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725759AbeICEEy (ORCPT ); Mon, 3 Sep 2018 00:04:54 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 423VBc019rz9s2P; Mon, 3 Sep 2018 09:47:19 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1535932040; bh=C1godOuQMF8DAsSBvbEMrA0GlCBdLzY0Zwo7BEXXB8k=; h=Date:From:To:Cc:Subject:From; b=tQu73SFzSvcUFYVlsnFTg/NSoz0eqnD+yL3HQdB/d+VQjj5yh/JW1YVECzfBoALTv ++tJ4wI5pbqklS2ccmduhOgOfcmQaCfxqjKiphajFWOb6IaVcxSWyHf7JU+4jcnX6M bBvs4T9N804YoN3m3rYk1KzkpGZXwJd0lVpzxsRNXOMI1C6OeXe/2RdEZTD4a/lCnC FhWO4PowXHi40NVKa70OS534SJX07kFRHSfhIJUcwLFIZ0bSR8Xor7GDACDJeU43yb PHtmcGV4qvatUnQWkw/u2PGFUIJkWDtUKm71jLB5l9bdqpX9PTY/I/UzNRi2iXPtE2 BS+jguHFuJWPQ== Date: Mon, 3 Sep 2018 09:47:02 +1000 From: Stephen Rothwell To: David Miller , Networking Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Jacob Keller , Jeff Kirsher , Andrew Bowers Subject: linux-next: build failure after merge of the net-next tree Message-ID: <20180903094702.3e32d8f5@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/ZNNK2TVTwXRyyUCbaVN90rD"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/ZNNK2TVTwXRyyUCbaVN90rD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, 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_sta= t_strings': drivers/net/ethernet/intel/i40e/i40e_ethtool_stats.h:193:20: error: functio= n '__i40e_add_stat_strings' can never be inlined because it uses variable a= rgument 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? --=20 Cheers, Stephen Rothwell --Sig_/ZNNK2TVTwXRyyUCbaVN90rD Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAluMdnYACgkQAVBC80lX 0Gwb4Qf+MOMSL1ycz0LwsoSipwGk2jGgeSx71ZWrO2jhOxYqHLUR/naoHD+NSvDN Gxyyf2RTHXp2liEFCBPjw4s5QTrrwvtbxjvy9Q/70/39XoCsnQ1/c/4VmRU+PcRN iMXEcr2FqZbdi+m1aD562Z5UPfnnYrxzWD1QHidugrG7NnRqh5o4mKcbT8A858od 0yPRUMp1Y+/bhTd+LZOqqb1HjLaf6AXdXqw1F/C2zdiInHdaGjqEjY9GV/vFjbUb nSWAuPqyA7HaZ/vgkQgW0HxDAdU2TRnJvXHsAyyij1STYJ6eK/Md5Rcu8HI1NI4C wR1ps8IxXcKLGpbUGB8Nv/UR2r/TYw== =sU4X -----END PGP SIGNATURE----- --Sig_/ZNNK2TVTwXRyyUCbaVN90rD--