From: Eduard Zingerman <eddyz87@gmail.com>
To: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, andrii@kernel.org,
daniel@iogearbox.net, martin.lau@linux.dev, kernel-team@fb.com,
yonghong.song@linux.dev, tony.ambardar@gmail.com,
alan.maguire@oracle.com
Subject: Re: [PATCH bpf-next] selftests/bpf: check if distilled base inherits source endianness
Date: Fri, 30 Aug 2024 10:53:51 -0700 [thread overview]
Message-ID: <f3f79ff5c10ccfe1603597805cfe67f2691ba780.camel@gmail.com> (raw)
In-Reply-To: <CAEf4BzYF0PqVHuj2gjZzaqrBOrVo8TEfuxiJe0TZvBb55n_Jog@mail.gmail.com>
On Fri, 2024-08-30 at 10:51 -0700, Andrii Nakryiko wrote:
[...]
> > +/* Split and new base BTFs should inherit endianness from source BTF. */
> > +static void test_distilled_endianness(void)
> > +{
> > + struct btf *base = NULL, *split = NULL, *new_base = NULL, *new_split = NULL;
> > + struct btf *new_base1 = NULL, *new_split1 = NULL;
> > + enum btf_endianness inverse_endianness;
> > + const void *raw_data;
> > + __u32 size;
> > +
> > + printf("is_host_big_endian? %d\n", is_host_big_endian());
>
> removed printf
:facepalm:, sorry, my bad.
[...]
next prev parent reply other threads:[~2024-08-30 17:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 17:34 [PATCH bpf-next] selftests/bpf: check if distilled base inherits source endianness Eduard Zingerman
2024-08-30 17:36 ` Eduard Zingerman
2024-08-30 17:51 ` Andrii Nakryiko
2024-08-30 17:53 ` Eduard Zingerman [this message]
2024-08-30 17:52 ` Alan Maguire
2024-08-30 17:56 ` Andrii Nakryiko
2024-08-30 18:00 ` patchwork-bot+netdevbpf
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=f3f79ff5c10ccfe1603597805cfe67f2691ba780.camel@gmail.com \
--to=eddyz87@gmail.com \
--cc=alan.maguire@oracle.com \
--cc=andrii.nakryiko@gmail.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=kernel-team@fb.com \
--cc=martin.lau@linux.dev \
--cc=tony.ambardar@gmail.com \
--cc=yonghong.song@linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox