Re: [PATCH] riscv: lib: Fix ZBB strnlen reading past count boundary
| Newsgroups | org.infradead.lists.linux-riscv,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178621200564.2716124.18450500018830260.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to riscv/linux.git (fixes) by Paul Walmsley <[email protected]>: On Mon, 13 Apr 2026 01:07:38 +0000 you wrote: > The ZBB-optimized strnlen loop loads one word ahead before checking the > aligned boundary: > > REG_L t1, SZREG(t0) // load next word > addi t0, t0, SZREG // advance > orc.b t1, t1 > bgeu t0, t4, 4f // boundary check AFTER load > > [...] Here is the summary with links: - riscv: lib: Fix ZBB strnlen reading past count boundary https://git.kernel.org/riscv/c/5d588c684833 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv