[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164450760940.15967.16503585232355616916.git-patchwork-notify@kernel.org>
Date: Thu, 10 Feb 2022 15:40:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: CGEL <cgel.zte@...il.com>
Cc: jiri@...nulli.us, ivecera@...hat.com, davem@...emloft.net,
kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, chi.minghao@....com.cn,
zealci@....com.cn
Subject: Re: [PATCH V2] net/switchdev: use struct_size over open coded arithmetic
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 10 Feb 2022 06:10:08 +0000 you wrote:
> From: Minghao Chi (CGEL ZTE) <chi.minghao@....com.cn>
>
> Replace zero-length array with flexible-array member and make use
> of the struct_size() helper in kmalloc(). For example:
>
> struct switchdev_deferred_item {
> ...
> unsigned long data[];
> };
>
> [...]
Here is the summary with links:
- [V2] net/switchdev: use struct_size over open coded arithmetic
https://git.kernel.org/netdev/net-next/c/d8c2858181cc
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