diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index 4e864c34a1b0..cd3510ac66b0 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -229,7 +229,7 @@ struct flow_action_entry { struct flow_action { unsigned int num_entries; - struct flow_action_entry entries[0]; + struct flow_action_entry entries[]; }; static inline bool flow_action_has_entries(const struct flow_action *action)