From: sashiko-bot@kernel.org
To: "Chen Pei" <cp0613@linux.alibaba.com>
Cc: bpf@vger.kernel.org
Subject: Re: [PATCH bpf-next 2/2] selftests/bpf: Enable gotox tests for riscv64
Date: Wed, 23 Sep 2026 13:13:16 +0000 [thread overview]
Message-ID: <20260923131317.8BC251F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260923130856.1157-3-cp0613@linux.alibaba.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] bpf: multi-line comment style violation in verifier_gotox.c
--
commit 265e53ef1a0972464a42276e591e566a09035885
Author: Chen Pei <cp0613@linux.alibaba.com>
selftests/bpf: Enable gotox tests for riscv64
This commit enables gotox tests for the riscv64 JIT since it now supports
the gotox instruction and jump tables. It modifies verifier_gotox.c to
include riscv64 in the supported architectures macro.
> diff --git a/tools/testing/selftests/bpf/progs/verifier_gotox.c b/tools/testing/selftests/bpf/progs/verifier_gotox.c
> index 5b18c9a27717b..4a38f7da720af 100644
> --- a/tools/testing/selftests/bpf/progs/verifier_gotox.c
> +++ b/tools/testing/selftests/bpf/progs/verifier_gotox.c
[ ... ]
> @@ -409,6 +411,8 @@ __naked void spill_fill_ptr_to_insn(void)
> : __clobber_all);
> }
>
> -#endif /* __TARGET_ARCH_x86 || __TARGET_ARCH_arm64 || __TARGET_ARCH_powerpc*/
> +#endif /* __TARGET_ARCH_x86 || __TARGET_ARCH_arm64 ||
> + * __TARGET_ARCH_powerpc || __TARGET_ARCH_riscv
> + */
[Severity: Low]
This isn't a bug, but does this newly introduced multi-line comment follow
the BPF subsystem style guide? The subsystem guidelines explicitly require
that multi-line comments have the opening '/*' on its own line, rather than
beginning text on the same line as the opening marker.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260923130856.1157-1-cp0613@linux.alibaba.com?part=2
next prev parent reply other threads:[~2026-09-23 13:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 13:08 [PATCH bpf-next 0/2] bpf, riscv: Add support for indirect jumps Chen Pei
2026-09-23 13:08 ` Chen Pei
2026-09-23 13:08 ` [PATCH bpf-next 1/2] " Chen Pei
2026-09-23 13:08 ` Chen Pei
2026-09-23 13:56 ` bot+bpf-ci
2026-09-23 13:56 ` bot+bpf-ci
2026-09-23 13:08 ` [PATCH bpf-next 2/2] selftests/bpf: Enable gotox tests for riscv64 Chen Pei
2026-09-23 13:08 ` Chen Pei
2026-09-23 13:13 ` sashiko-bot [this message]
2026-09-24 2:39 ` [PATCH bpf-next 0/2] bpf, riscv: Add support for indirect jumps Chen Pei
2026-09-24 2:39 ` Chen Pei
2026-09-24 15:03 ` Björn Töpel
2026-09-24 15:03 ` Björn Töpel
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=20260923131317.8BC251F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=cp0613@linux.alibaba.com \
--cc=sashiko-reviews@lists.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 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.