Reference: https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -673,7 +673,7 @@ struct kfd_ioctl_svm_args { · 672 unmodified lines | ||
| 673 | 673 | __u32 op; |
| 674 | 674 | __u32 nattr; |
| 675 | 675 | /* Variable length array of attributes */ |
| 676 | − struct kfd_ioctl_svm_attribute attrs[0]; | |
| 676 | + struct kfd_ioctl_svm_attribute attrs[]; | |
| 677 | 677 | }; |
| 678 | 678 | |
| 679 | 679 | /** |