From: Daniel Borkmann Subject: Re: [PATCH bpf-next v2] selftests/bpf: missing headers test_lwt_seg6local Date: Mon, 28 May 2018 00:37:39 +0200 Message-ID: References: <20180526144408.2829-1-m.xhonneux@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: alexei.starovoitov@gmail.com, ys114321@gmail.com To: Mathieu Xhonneux , netdev@vger.kernel.org Return-path: Received: from www62.your-server.de ([213.133.104.62]:49253 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbeE0Whk (ORCPT ); Sun, 27 May 2018 18:37:40 -0400 In-Reply-To: <20180526144408.2829-1-m.xhonneux@gmail.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 05/26/2018 04:44 PM, Mathieu Xhonneux wrote: > Previous patch "selftests/bpf: test for seg6local End.BPF action" lacks > some UAPI headers in tools/. > > clang -I. -I./include/uapi -I../../../include/uapi -idirafter > /usr/local/include -idirafter > /data/users/yhs/work/llvm/build/install/lib/clang/7.0.0/include > -idirafter /usr/include -Wno-compare-distinct-pointer-types \ > -O2 -target bpf -emit-llvm -c test_lwt_seg6local.c -o - | \ > llc -march=bpf -mcpu=generic -filetype=obj -o > [...]/net-next/tools/testing/selftests/bpf/test_lwt_seg6local.o > test_lwt_seg6local.c:4:10: fatal error: 'linux/seg6_local.h' file not found > ^~~~~~~~~~~~~~~~~~~~ > 1 error generated. > make: Leaving directory > `/data/users/yhs/work/net-next/tools/testing/selftests/bpf' > > v2: moving the headers to tools/include/uapi/. > > Reported-by: Y Song > Signed-off-by: Mathieu Xhonneux Applied to bpf-next, thanks Mathieu!