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 6EFFC2206BA for ; Thu, 9 Jan 2025 16:16:23 +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=1736439383; cv=none; b=HoqR0o++4+kj4OnM2+NUvBbS2PLyyn1oD0bfsr/IMj6FFt08rz9X3Df9KwlXViwlQ7jYEYq4+4jKXYD7xc2jsOzg8ftNlW2zgGtKxmvZ7AvGZS6mC541tbKiYf/iHOxUVRokRcUFI2EYvXZ5wKFe6xNvvYhL9qah0MouIw73wzc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736439383; c=relaxed/simple; bh=1F5eIseTUkjVCc2h24GfQ7JMZM/Tnc1tqemDD6ZG91U=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=D3C8t9tlkIzULIX3t2HTDWLB2QQp8oUL0nxU9Yqqag6/OFyItoNQ4NTtIDUWBPfsLJlJSTvNi1eswZmSU8AaL6Qz6RF1eos8b4kemaFfE9o1IXYaqxwwcczw7PFtMpRbAeWh5pWbjVmuy9VFDplJC/3O4/I9wB+qAr9Zw2oeq1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Hn4f0k6B; 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="Hn4f0k6B" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10E99C4CED6; Thu, 9 Jan 2025 16:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736439383; bh=1F5eIseTUkjVCc2h24GfQ7JMZM/Tnc1tqemDD6ZG91U=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Hn4f0k6BA8hefxug0N0Gxer4jyNj1q9wu5V+YCMr8OVvOUEMMM3nxaGiBdEx5vvo5 3yj76VTNX6P8tCOwKsY8kVHk6Z8NdmUYiZiNTPgsF6ePEXPeNwQWXPEFS3vcDg/dyW cLee8moO1FRKu3mDXiBfwU8wy9kLLPB17CbZlQ8JrJz/lC3qqZyFrErIwp/SLG/8IY D5IAPikRVmW7hDtZ6EvTY4h6bLu4CG4VVWU5TvwfixB3U45nt/9d6mjN3CeCcldUsn bYPUalU/ZYq3GyYGuMyp6xdkfONZboC9vLC3yeG34gx6M5xvj8UKmol6raTgKqnJG1 8L85yNNG9WNVA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id EB122380A97D; Thu, 9 Jan 2025 16:16:45 +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 v2] riscv: module: use a plain variable for list_head instead of a pointer From: patchwork-bot+linux-riscv@kernel.org Message-Id: <173643940449.1375203.11421611509133898262.git-patchwork-notify@kernel.org> Date: Thu, 09 Jan 2025 16:16:44 +0000 References: <20241127142519.3038691-1-cleger@rivosinc.com> In-Reply-To: <20241127142519.3038691-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, aou@eecs.berkeley.edu, 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 Wed, 27 Nov 2024 15:25:17 +0100 you wrote: > rel_head's list_head member, rel_entry, doesn't need to be allocated, > its storage can just be part of the allocated rel_head. Remove the > pointer which allows to get rid of the allocation as well as an existing > memory leak found by Kai Zang using kmemleak. > > Reported-by: Kai Zhang > Signed-off-by: Clément Léger > Reviewed-by: Andrew Jones > > [...] Here is the summary with links: - [v2] riscv: module: use a plain variable for list_head instead of a pointer 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