[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174595083949.1759531.16825575896247903410.git-patchwork-notify@kernel.org>
Date: Tue, 29 Apr 2025 18:20:39 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kees Cook <kees@...nel.org>
Cc: louis.peens@...igine.com, kuba@...nel.org, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
horms@...nel.org, yinjun.zhang@...igine.com, na.wang@...igine.com,
oss-drivers@...igine.com, netdev@...r.kernel.org, jacob.e.keller@...el.com,
tglx@...utronix.de, ruanjinjie@...wei.com, eahariha@...ux.microsoft.com,
mheib@...hat.com, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] nfp: xsk: Adjust allocation type for nn->dp.xsk_pools
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 25 Apr 2025 23:08:42 -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 "struct xsk_buff_pool **", but the returned type will be
> "struct xsk_buff_pool ***". These are the same allocation size (pointer
> size), but the types don't match. Adjust the allocation type to match
> the assignment.
>
> [...]
Here is the summary with links:
- nfp: xsk: Adjust allocation type for nn->dp.xsk_pools
https://git.kernel.org/netdev/net-next/c/c636eed60958
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