]> git.hungrycats.org Git - linux/commit
riscv/ptrace: Use USER_REGSET_NOTE_TYPE for REGSET_CFI
authorAndreas Schwab <schwab@suse.de>
Thu, 21 May 2026 22:34:30 +0000 (00:34 +0200)
committerPaul Walmsley <pjw@kernel.org>
Sun, 7 Jun 2026 02:17:04 +0000 (20:17 -0600)
commite3573f739e3dadab57ec80488d07e05c8f6e82d3
tree79f7df9a573fea04238c750b007e3bf14a6895ba
parent5200f5f493f79f14bbdc349e402a40dfb32f23c8
riscv/ptrace: Use USER_REGSET_NOTE_TYPE for REGSET_CFI

Fixes a warning while dumping core:

[54983.546369][    C7] WARNING: [!note_name] fs/binfmt_elf.c:1771 at elf_core_dump+0x910/0xf68, CPU#7: abort01/31982

Fixes: 2af7c9cf021c ("riscv/ptrace: expose riscv CFI status and state via ptrace and in core files")
Signed-off-by: Andreas Schwab <schwab@suse.de>
Link: https://patch.msgid.link/87y0hcxuh5.fsf@igel.home
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/ptrace.c