Thread (4 messages) 4 messages, 4 authors, 2021-12-07

Re: [PATCH] net: prestera: replace zero-length array with flexible-array member

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-07 00:40:15
Also in: linux-hardening, lkml

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski [off-list ref]:

On Sat,  4 Dec 2021 18:13:49 +0100 you wrote:
One-element and zero-length arrays are deprecated and should be
replaced with flexible-array members:
https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays

Replace zero-length array with flexible-array member and make use
of the struct_size() helper.

[...]
Here is the summary with links:
  - net: prestera: replace zero-length array with flexible-array member
    https://git.kernel.org/netdev/net-next/c/01081be1ea8c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help