All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexei Starovoitov <alexei.starovoitov@gmail.com>
To: Andrii Nakryiko <andriin@fb.com>
Cc: bpf <bpf@vger.kernel.org>,
	Network Development <netdev@vger.kernel.org>,
	Alexei Starovoitov <ast@fb.com>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Andrii Nakryiko <andrii.nakryiko@gmail.com>,
	Kernel Team <kernel-team@fb.com>,
	Jesper Dangaard Brouer <brouer@redhat.com>,
	Yonghong Song <yhs@fb.com>
Subject: Re: [PATCH bpf-next] selftest/bpf: make bpf_iter selftest compilable against old vmlinux.h
Date: Tue, 19 May 2020 11:44:11 -0700	[thread overview]
Message-ID: <CAADnVQJs7R9_bfUvMyksXnD70cG8omTRC-upDOpxcAVZqs9VYg@mail.gmail.com> (raw)
In-Reply-To: <20200518234516.3915052-1-andriin@fb.com>

On Mon, May 18, 2020 at 4:49 PM Andrii Nakryiko <andriin@fb.com> wrote:
>
> It's good to be able to compile bpf_iter selftest even on systems that don't
> have the very latest vmlinux.h, e.g., for libbpf tests against older kernels in
> Travis CI. To that extent, re-define bpf_iter_meta and corresponding bpf_iter
> context structs in each selftest. To avoid type clashes with vmlinux.h, rename
> vmlinux.h's definitions to get them out of the way.
>
> Cc: Jesper Dangaard Brouer <brouer@redhat.com>
> Cc: Yonghong Song <yhs@fb.com>
> Signed-off-by: Andrii Nakryiko <andriin@fb.com>

Applied. Thanks

      parent reply	other threads:[~2020-05-19 18:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-18 23:45 [PATCH bpf-next] selftest/bpf: make bpf_iter selftest compilable against old vmlinux.h Andrii Nakryiko
2020-05-19  1:42 ` Yonghong Song
2020-05-19  7:01   ` Jesper Dangaard Brouer
2020-05-19 18:44 ` Alexei Starovoitov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAADnVQJs7R9_bfUvMyksXnD70cG8omTRC-upDOpxcAVZqs9VYg@mail.gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=andrii.nakryiko@gmail.com \
    --cc=andriin@fb.com \
    --cc=ast@fb.com \
    --cc=bpf@vger.kernel.org \
    --cc=brouer@redhat.com \
    --cc=daniel@iogearbox.net \
    --cc=kernel-team@fb.com \
    --cc=netdev@vger.kernel.org \
    --cc=yhs@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.