uapi: revert flexible-array conversions
These structures can get embedded in other structures in user-space and cause all sorts of warnings and problems. So, we better don't take any chances and keep the zero-length arrays in place for now. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
This commit is contained in:
@@ -29,12 +29,12 @@ struct net_dm_config_entry {
|
||||
|
||||
struct net_dm_config_msg {
|
||||
__u32 entries;
|
||||
struct net_dm_config_entry options[];
|
||||
struct net_dm_config_entry options[0];
|
||||
};
|
||||
|
||||
struct net_dm_alert_msg {
|
||||
__u32 entries;
|
||||
struct net_dm_drop_point points[];
|
||||
struct net_dm_drop_point points[0];
|
||||
};
|
||||
|
||||
struct net_dm_user_msg {
|
||||
|
Reference in New Issue
Block a user