projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47aeed9
)
net: geneve: fix array of flexible structures warnings
author
Jakub Kicinski
<kuba@kernel.org>
Fri, 28 Oct 2022 03:52:59 +0000
(20:52 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 31 Oct 2022 10:43:04 +0000
(10:43 +0000)
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 <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/geneve.h
patch
|
blob
|
history
diff --git
a/include/net/geneve.h
b/include/net/geneve.h
index
bced0b1
..
5c96827
100644
(file)
--- a/
include/net/geneve.h
+++ b/
include/net/geneve.h
@@
-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)