[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174595084074.1759531.13294818915548833067.git-patchwork-notify@kernel.org>
Date: Tue, 29 Apr 2025 18:20:40 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kees Cook <kees@...nel.org>
Cc: jonathan.lemon@...il.com, vadim.fedorenko@...ux.dev,
richardcochran@...il.com, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] ptp: ocp: Add const to bp->attr_group allocation type
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 25 Apr 2025 23:18:59 -0700 you wrote:
> In preparation for making the kmalloc family of allocators type aware,
> we need to make sure that the returned type from the allocation matches
> the type of the variable being assigned. (Before, the allocator would
> always return "void *", which can be implicitly cast to any pointer type.)
>
> The assigned type is "const struct attribute_group **", but the returned
> type, while technically matching, will be not const qualified. As there is
> no general way to safely add const qualifiers, adjust the allocation type
> to match the assignment.
>
> [...]
Here is the summary with links:
- ptp: ocp: Add const to bp->attr_group allocation type
https://git.kernel.org/netdev/net-next/c/5fe6530cd54b
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