[PATCH v2 0/4] selftests: riscv: Fix compilation issues for v_ptrace and cfi
Charlie Jenkins via B4 Relay
devnull+thecharlesjenkins.gmail.com at kernel.org
Mon Mar 9 18:52:09 PDT 2026
There are a couple of compilation issues of the riscv selftests.
Coincidentally two of the issues are independent problems with not
including the header that includes the BIT() macro and the other issue
is from checkpatch incorrectly suggesting to remove non-redundant
braces.
Signed-off-by: Charlie Jenkins <thecharlesjenkins at gmail.com>
---
Changes in v2:
- Fix compilation issue reported by kernel test bot and Sergey
- Link to v1: https://lore.kernel.org/r/20260305-fix_selftests-v1-0-61b62d23500b@gmail.com
---
Charlie Jenkins (4):
selftests: riscv: Add definition of BIT() macro
selftests: riscv: Add braces around EXPECT_EQ()
riscv: ptrace: Fix BIT() compilation issues
selftests: riscv: Add license to cfi selftest
arch/riscv/include/uapi/asm/ptrace.h | 1 +
tools/testing/selftests/riscv/cfi/Makefile | 2 ++
tools/testing/selftests/riscv/vector/Makefile | 7 +++++--
tools/testing/selftests/riscv/vector/validate_v_ptrace.c | 16 ++++++++++------
4 files changed, 18 insertions(+), 8 deletions(-)
---
base-commit: c107785c7e8dbabd1c18301a1c362544b5786282
change-id: ${change-id}
- Charlie
More information about the linux-riscv
mailing list