Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752137AbcDRHW0 (ORCPT ); Mon, 18 Apr 2016 03:22:26 -0400 Received: from www62.your-server.de ([213.133.104.62]:38698 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751751AbcDRHWY (ORCPT ); Mon, 18 Apr 2016 03:22:24 -0400 Message-ID: <57148B27.60001@iogearbox.net> Date: Mon, 18 Apr 2016 09:22:15 +0200 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: kbuild test robot CC: kbuild-all@01.org, davem@davemloft.net, alexei.starovoitov@gmail.com, tgraf@suug.ch, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alexei Starovoitov Subject: Re: [PATCH net-next 2/2] bpf: add event output helper for notifications/sampling/logging References: <201604180722.wizpe3nL%fengguang.wu@intel.com> In-Reply-To: <201604180722.wizpe3nL%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1420 Lines: 38 On 04/18/2016 01:55 AM, kbuild test robot wrote: > Hi Daniel, > > [auto build test ERROR on net-next/master] > > url: https://github.com/0day-ci/linux/commits/Daniel-Borkmann/bpf-trace-add-BPF_F_CURRENT_CPU-flag-for-bpf_perf_event_output/20160418-063147 > config: m68k-allyesconfig (attached as .config) > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=m68k > > All errors (new ones prefixed by >>): > > net/core/filter.c: In function 'bpf_skb_event_output': >>> net/core/filter.c:1599:2: error: implicit declaration of function 'perf_fetch_caller_regs' [-Werror=implicit-function-declaration] > perf_fetch_caller_regs(regs); > ^ > cc1: some warnings being treated as errors > > vim +/perf_fetch_caller_regs +1599 net/core/filter.c > > 1593 static DEFINE_PER_CPU(struct pt_regs, bpf_pt_regs); > 1594 > 1595 static u64 bpf_skb_event_output(u64 r1, u64 r2, u64 flags, u64 r4, u64 size) > 1596 { > 1597 struct pt_regs *regs = this_cpu_ptr(&bpf_pt_regs); > 1598 >> 1599 perf_fetch_caller_regs(regs); > 1600 > 1601 return bpf_perf_event_output((long)regs, r2, flags, r4, size); > 1602 } Sorry about that, missed this one. Will fix it up in v2! Thanks, Daniel