Re: [PATCH] net: dsa: hellcreek: replace kcalloc with struct_size
From: patchwork-bot+netdevbpf
Date: Mon Jun 15 2026 - 15:51:20 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sun, 7 Jun 2026 21:56:40 -0700 you wrote:
> One fewer allocation for the priv struct.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---
> drivers/net/dsa/hirschmann/hellcreek.c | 14 +++++---------
> drivers/net/dsa/hirschmann/hellcreek.h | 2 +-
> 2 files changed, 6 insertions(+), 10 deletions(-)
Here is the summary with links:
- net: dsa: hellcreek: replace kcalloc with struct_size
https://git.kernel.org/netdev/net-next/c/e3d202a1ed7c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html