net: geneve: fix array of flexible structures warnings
Subsystems (2)
Jakub Kicinski
maintainerPATCH 1/1 net: geneve: fix array of flexible structures warnings
New compilers don't like flexible array of flexible structs:
include/net/geneve.h:62:34: warning: array of flexible structures
Signed-off-by Jakub Kicinski <[email protected]>
--- include/net/geneve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/geneve.h +1 -1
@@ -59,7 +59,7 @@ struct genevehdr {__be16 proto_type;u8 vni[3 ];u8 rsvd2; -struct geneve_opt options[]; +u8 options[]; };static inline bool netif_is_geneve (const struct net_device *dev)
Signature · 1 line
2.37.3
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Quoted 8 lines · On Thu, 27 Oct 2022 20:52:59 -0700 you wrote:
New compilers don't like flexible array of flexible structs:
include/net/geneve.h:62:34: warning: array of flexible structuresSigned-off-by Jakub Kicinski <[email protected]>--- include/net/geneve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net-next] net: geneve: fix array of flexible structures warnings
https://git.kernel.org/netdev/net-next/c/8c2a535e089b
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html