[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<176350020601.107040.11107481063131257896.git-patchwork-notify@kernel.org>
Date: Tue, 18 Nov 2025 21:10:06 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Jiakai Xu <xujiakai2025@...as.ac.cn>
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
pjw@...nel.org, palmer@...belt.com, aou@...s.berkeley.edu, alex@...ti.fr
Subject: Re: [PATCH] riscv: fix KUnit test_kprobes crash when building with
Clang
Hello:
This patch was applied to riscv/linux.git (fixes)
by Paul Walmsley <pjw@...nel.org>:
On Thu, 13 Nov 2025 18:51:42 +0800 (GMT+08:00) you wrote:
> Clang misaligns the test_kprobes_addresses and test_kprobes_functions
> arrays, or does not export local labels by default. Both can cause
> kmalloc_array() allocation errors and KUnit failures.
>
> This patch fixes the issue by:
> - Adding .section .rodata to explicitly place arrays in the read-only data segment.
> - Adding .align 3 to align arrays to 8 bytes.
> - Adding .globl to probe labels to ensure symbols are visible.
>
> [...]
Here is the summary with links:
- riscv: fix KUnit test_kprobes crash when building with Clang
https://git.kernel.org/riscv/c/e2285bd4a467
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists