aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-03-02 11:16:35 -0800
committerDavid S. Miller <davem@davemloft.net>2020-03-02 11:16:35 -0800
commit0b56a29f708e10d0ae81a6503cbe41edaaaefbc8 (patch)
tree65e889ec4fb52ea6851856c7a6f18ae3b5ca6659 /include/uapi
parentMerge branch 'net-thunderx-Miscellaneous-changes' (diff)
parenttehuti: Replace zero-length array with flexible-array member (diff)
downloadlinux-dev-0b56a29f708e10d0ae81a6503cbe41edaaaefbc8.tar.xz
linux-dev-0b56a29f708e10d0ae81a6503cbe41edaaaefbc8.zip
Merge branch 'net-zl-array'
More zero-length array transformations from Gustavo A. R. Silva. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/net_dropmon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/net_dropmon.h b/include/uapi/linux/net_dropmon.h
index 66048cc5d7b3..67e31f329190 100644
--- a/include/uapi/linux/net_dropmon.h
+++ b/include/uapi/linux/net_dropmon.h
@@ -29,12 +29,12 @@ struct net_dm_config_entry {
struct net_dm_config_msg {
__u32 entries;
- struct net_dm_config_entry options[0];
+ struct net_dm_config_entry options[];
};
struct net_dm_alert_msg {
__u32 entries;
- struct net_dm_drop_point points[0];
+ struct net_dm_drop_point points[];
};
struct net_dm_user_msg {