From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Tiezhu Yang" <yangtiezhu@loongson.cn>,
"Daniel Borkmann" <daniel@iogearbox.net>,
"Andrii Nakryiko" <andrii@kernel.org>,
"Eduard Zingerman" <eddyz87@gmail.com>,
"Kumar Kartikeya Dwivedi" <memxor@gmail.com>
Cc: <bpf@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH bpf-next v1 1/2] selftests/bpf: Include bpf_misc.h in uprobe_autoattach.c
Date: Thu, 26 Nov 2026 20:47:39 +0000 [thread overview]
Message-ID: <DN5FRF704VPN.12EK2J9356Q36@gmail.com> (raw)
In-Reply-To: <20261126051307.13170-2-yangtiezhu@loongson.cn>
On Wed, Nov 25, 2026 at 09:13 PM Tiezhu Yang <yangtiezhu@loongson.cn> wrote:
> Commit 8c2b5e90505e ("selftests/bpf: add bpf_for_each(), bpf_for(),
> and bpf_repeat() macros") accidentally removed this include, causing
> FUNC_REG_ARG_CNT to evaluate to 0 in the preprocessor and silently
> skipping all assertions beyond arg3 on every architecture.
It wasn't an accident. The log of that commit says:
Also clean up a few tests that either included bpf_misc.h header
unnecessarily from the user-space, which is unsupported
Nothing in prog_tests/ includes bpf_misc.h today.
pw-bot: cr
next prev parent reply other threads:[~2026-11-26 20:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 5:13 [PATCH bpf-next v1 0/2] selftests/bpf: Fix uprobe_autoattach test Tiezhu Yang
2026-11-26 5:13 ` [PATCH bpf-next v1 1/2] selftests/bpf: Include bpf_misc.h in uprobe_autoattach.c Tiezhu Yang
2026-11-26 20:47 ` Alexei Starovoitov [this message]
2026-11-26 5:13 ` [PATCH bpf-next v1 2/2] selftests/bpf: Define FUNC_REG_ARG_CNT for LoongArch Tiezhu Yang
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=DN5FRF704VPN.12EK2J9356Q36@gmail.com \
--to=alexei.starovoitov@gmail.com \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=memxor@gmail.com \
--cc=yangtiezhu@loongson.cn \
/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.