Commit 79aa0367 authored by Felix Kuehling's avatar Felix Kuehling Committed by Alex Deucher
Browse files

drm/amdkfd: Replace zero-length array with flexible-array member

parent 967af863
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -673,7 +673,7 @@ struct kfd_ioctl_svm_args {
	__u32 op;
	__u32 op;
	__u32 nattr;
	__u32 nattr;
	/* Variable length array of attributes */
	/* Variable length array of attributes */
	struct kfd_ioctl_svm_attribute attrs[0];
	struct kfd_ioctl_svm_attribute attrs[];
};
};


/**
/**