Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp296370imm; Thu, 2 Aug 2018 19:26:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeeXIi6ZItBHvL1P5sXQqGU+03pqK5MKxG+EXKMTwQKCD0IXxBxQlWzhT5nWnofBDK28h+c X-Received: by 2002:a17:902:1001:: with SMTP id b1-v6mr1697382pla.155.1533263215321; Thu, 02 Aug 2018 19:26:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533263215; cv=none; d=google.com; s=arc-20160816; b=j5+2La4I+K2RDQuOd+CHo7besQcubQ9DW/srI7/oYSMNRjnc4uRQ0iabqEzMw/17ZT bdsYYr5UO+aRS2vlVkyETZN/TwwB681Q1EDSb/4ILC389MgxNot7MASpLJk24ArF/bOd Y1ZAqd6CErs1hfodHqR0/p42g3ZwMUEugaSBmkLfUsqe0eWGo5JhbSUpFF7KuLxacLP+ qJT4Z7MN3/vHDB6C90YxGqXtGr8wRTgHimIUzXkiDBqqa8C3hs3cvUWmX+jC//qZ6jdx RM5UMQkCZk9SXHZXEkmq4HKgF1kD1t0ahzyrnin90PfShcnRqDtlLTmjFMe9vuBIlfui yGcg== 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:arc-authentication-results; bh=/Ybv6WeLrzA0YKQG1HMI+82za08mj0kFihXWB1KmNFM=; b=weyPuQT0iJbYqeqaMKMUlQ7RD1N9f37qQyJZ7WziyRSl3x+FpOq1Nbl/0KMBCEeg8j 5WA9zuM5hw6yyZsT9ekm12/og4qYzuswrylpPnrO1niNdE4XEcNwOcg5lpJhTSwnihBm Vd3RKaqlsgLgL9WjkiEWz/zFHc1q4QzsHo+GdqYeftG/ECGrQnYvtzEUUfpewzhaXTvE bh7I+L4CsXkfhkCb9mWXK8GrMxsZjlZkyrfx6RFS70JPJzwRfeNLDwHqvxdGjxe0txos /XF5lVOH9leGcCSpDhKLgNCzY/xMXhGqWRrTSIIjfI5+w/FwOyitMNnDREqrrJM0b2fX FGqA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si2780671plu.65.2018.08.02.19.26.40; Thu, 02 Aug 2018 19:26:55 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726851AbeHCETd (ORCPT + 99 others); Fri, 3 Aug 2018 00:19:33 -0400 Received: from pide.tip.net.au ([203.10.76.2]:47499 "EHLO pide.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725736AbeHCETc (ORCPT ); Fri, 3 Aug 2018 00:19:32 -0400 X-Greylist: delayed 577 seconds by postgrey-1.27 at vger.kernel.org; Fri, 03 Aug 2018 00:19:32 EDT Received: from canb.auug.org.au (unknown [122.99.82.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pide.tip.net.au (Postfix) with ESMTPSA id 41hVyn0c6vz9CVx; Fri, 3 Aug 2018 12:16:16 +1000 (AEST) Date: Fri, 3 Aug 2018 12:14:30 +1000 From: Stephen Rothwell To: David Miller , Networking Cc: Linux-Next Mailing List , Linux Kernel Mailing List Subject: linux-next: build failure after merge of the net-next tree Message-ID: <20180803121430.25899c83@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/Fsb4bth4XmH6FhThHKnKa+."; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/Fsb4bth4XmH6FhThHKnKa+. 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 (perf) failed like this: In file included from btf.c:10:0: btf.h:25:24: error: redundant redeclaration of 'btf__type_by_id' [-Werror= =3Dredundant-decls] const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_i= d); ^~~~~~~~~~~~~~~ btf.h:20:24: note: previous declaration of 'btf__type_by_id' was here const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 id); ^~~~~~~~~~~~~~~ btf.c:405:24: error: redefinition of 'btf__type_by_id' const struct btf_type *btf__type_by_id(const struct btf *btf, ^~~~~~~~~~~~~~~ btf.c:197:24: note: previous definition of 'btf__type_by_id' was here const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_i= d) ^~~~~~~~~~~~~~~ btf.c:40:20: error: 'btf_name_by_offset' defined but not used [-Werror=3Dun= used-function] static const char *btf_name_by_offset(const struct btf *btf, __u32 offset) ^~~~~~~~~~~~~~~~~~ mv: cannot stat 'perf/.libbpf.o.tmp': No such file or directory tools/build/Makefile.build:96: recipe for target 'perf/libbpf.o' failed In file included from libbpf.c:52:0: btf.h:25:24: error: redundant redeclaration of 'btf__type_by_id' [-Werror= =3Dredundant-decls] const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_i= d); ^~~~~~~~~~~~~~~ btf.h:20:24: note: previous declaration of 'btf__type_by_id' was here const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 id); ^~~~~~~~~~~~~~~ mv: cannot stat 'perf/.libbpf.o.tmp': No such file or directory tools/build/Makefile.build:96: recipe for target 'perf/libbpf.o' failed Caused by commit 89b1698c93a9 ("Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net") Some of the lines in tools/lib/bpf/btf.[ch] were duplicated (they existed on both sides of the merge). I have used the net-next tree from next-20180802 for today. --=20 Cheers, Stephen Rothwell --Sig_/Fsb4bth4XmH6FhThHKnKa+. Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAltjuoYACgkQAVBC80lX 0GwN6Qf9Eso6jbVnUyskijANFZoVYQrDwVMvuPsXOJ/+fHfe8hkbQ3FdkNCdLp4W 6St/e8nLK7B0OR1Oxog2zGagonnO4vePcayHahYhCanSogx95B+p4kGWa5HfxJU9 SBk1H6QaxxbzXLkHyVVcBCgaOzoRK4i7XP98cqA6QgelbydW4sh0CJ1XMCpojV9n UYQRDwxHy8yKCjUNmqbOPwVLrdPvU7urqSjdxZQCBlFird92iGbasVxbAipugiuM i10fQ35nZ36bVwDOo9cLqoiFNSY3bKYYU3piZsEuf2mvmJmr6wdPvpS51d+ihX4i BdaSXSDsUFtBJZCQECfGlWeFx5Sa6g== =F1G7 -----END PGP SIGNATURE----- --Sig_/Fsb4bth4XmH6FhThHKnKa+.--