Merge tag 'flexible-array-transformations-UAPI-6.0-rc1' of git://git.kernel.org/pub...
[platform/kernel/linux-rpi.git] / tools / include / uapi / drm / i915_drm.h
index a2def7b..b28ff5d 100644 (file)
@@ -2123,7 +2123,7 @@ struct i915_context_engines_load_balance {
 
        __u64 mbz64; /* reserved for future use; must be zero */
 
-       struct i915_engine_class_instance engines[0];
+       struct i915_engine_class_instance engines[];
 } __attribute__((packed));
 
 #define I915_DEFINE_CONTEXT_ENGINES_LOAD_BALANCE(name__, N__) struct { \
@@ -2161,7 +2161,7 @@ struct i915_context_engines_bond {
        __u64 flags; /* all undefined flags must be zero */
        __u64 mbz64[4]; /* reserved for future use; must be zero */
 
-       struct i915_engine_class_instance engines[0];
+       struct i915_engine_class_instance engines[];
 } __attribute__((packed));
 
 #define I915_DEFINE_CONTEXT_ENGINES_BOND(name__, N__) struct { \
@@ -2288,7 +2288,7 @@ struct i915_context_engines_parallel_submit {
         * length = width (i) * num_siblings (j)
         * index = j + i * num_siblings
         */
-       struct i915_engine_class_instance engines[0];
+       struct i915_engine_class_instance engines[];
 
 } __packed;