• A
    tools headers: Fixup tools/include/uapi/linux/bpf.h copy of kernel ABI header · f1d6cb2d
    Arnaldo Carvalho de Melo 提交于
    In 04df41e3 ("bpf: update tools/include/uapi/linux/bpf.h") the files
    added in 40304b2a ("bpf: BPF support for sock_ops") were added to
    tools/include, but not in a verbatim way, missing the comments, which
    ends up triggering this warning when build tools/perf/:
    
      make: Entering directory '/home/acme/git/linux/tools/perf'
        BUILD:   Doing 'make -j4' parallel build
      Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'
    
    Make sure the the lines are equal, to fix the simple header copy
    drift detector in tools/perf/.
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Daniel Borkmann <daniel@iogearbox.net>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Lawrence Brakmo <brakmo@fb.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Wang Nan <wangnan0@huawei.com>
    Fixes: 04df41e3 ("bpf: update tools/include/uapi/linux/bpf.h")
    Link: http://lkml.kernel.org/n/tip-z9qyyqht9qq3yyxu76sfy0dh@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    f1d6cb2d
bpf.h 23.8 KB