From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9223A221DAE for ; Thu, 9 Jan 2025 16:16:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736439384; cv=none; b=XBUKsRtT/2vSKe2xmwrTAicCYyntGcuxLv8gTT5kimgIvVY6cEI0Iu1DHFYqRvlD+992g9A4ca+ZCaUG0S8vj8wY4ZwZuUUpbGInCzSPFnJelzkawx8QnVyinEcZcZO3ydwtNnencvgrrgIjHDD4Fz8NPp/tz/CLRVWpvFRXlvI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736439384; c=relaxed/simple; bh=w3VeTix6JtZLdXjlspY/iu/wBosmJyRn541J3NZAu9k=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=bEFmuQy49qJkUUNMwgnMrJwP0Qellp4JQnyBkvjrqwL2FHV1CP2HNyj9P3sOKmkdTHFKlp91DBIN4mgqklwZJyNsZlS7LwpsAqA7LtFeUpIpXcCopQT7cELwVFZy06iUaP/qXw6lqFGYZDDHltP2kcttN1mKnLBsi1lLrvFa89g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EWXcfwdU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EWXcfwdU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3EF3FC4CED3; Thu, 9 Jan 2025 16:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736439384; bh=w3VeTix6JtZLdXjlspY/iu/wBosmJyRn541J3NZAu9k=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=EWXcfwdUpe9+uWBpthJHLJRvOmAb93qeAenihLpChW2MMBfwjTUQvaksJs2sEaLvd wbBvTztMr87+r+CER87NUd/GzmblrMPsLLfo7ZCE9sf1wmQoYo+yjaxJfltDSgQx3Q HJ445IhBJ/wqngjh/ThH5c57wGzeJMYB6fhntCr2erioCptp1fnQdazsLRhiCGCNJD cwxHC85A9qu3SlhHA2LIffdguNA8wlIxfWWX9E8bdgTk9ctXTI2bR5NDEx46K7XAuS +8O2kmlBWEGhDJCBX+443aIPFIXHdCMHZe1Etk2iyFbKRd+B/tbL5p7Jrvje4tcFur Gyzay/S6K9BQA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 33CCE380A97D; Thu, 9 Jan 2025 16:16:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3] riscv: module: remove relocation_head rel_entry member allocation From: patchwork-bot+linux-riscv@kernel.org Message-Id: <173643940599.1375203.2018216601939564828.git-patchwork-notify@kernel.org> Date: Thu, 09 Jan 2025 16:16:45 +0000 References: <20241128081636.3620468-1-cleger@rivosinc.com> In-Reply-To: <20241128081636.3620468-1-cleger@rivosinc.com> To: =?utf-8?b?Q2zDqW1lbnQgTMOpZ2VyIDxjbGVnZXJAcml2b3NpbmMuY29tPg==?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, linux-kernel@vger.kernel.org, charlie@rivosinc.com, zhangkai@iscas.ac.cn, ajones@ventanamicro.com Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : 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 > Signed-off-by: Clément Léger > Reviewed-by: Andrew Jones > Reviewed-by: Charlie Jenkins > Tested-by: Charlie Jenkins > > [...] 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