Re: [PATCH v3] riscv: module: remove relocation_head rel_entry member allocation

From: patchwork-bot+linux-riscv
Date: Thu Jan 09 2025 - 11:16:44 EST


Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Thu, 28 Nov 2024 09:16:34 +0100 you wrote:
> relocation_head's list_head member, rel_entry, doesn't need to be
> allocated, its storage can just be part of the allocated relocation_head.
> Remove the pointer which allows to get rid of the allocation as well as
> an existing memory leak found by Kai Zhang using kmemleak.
>
> Fixes: 8fd6c5142395 ("riscv: Add remaining module relocations")
> Reported-by: Kai Zhang <zhangkai@xxxxxxxxxxx>
> Signed-off-by: Clément Léger <cleger@xxxxxxxxxxxx>
> Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>
> Reviewed-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>
> Tested-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v3] riscv: module: remove relocation_head rel_entry member allocation
https://git.kernel.org/riscv/c/03f0b548537f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html