<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2022-02-15 7:38 p.m., Felix Kuehling
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:20220216003841.1419615-1-Felix.Kuehling@amd.com">
      <pre class="moz-quote-pre" wrap="">Reference:
<a class="moz-txt-link-freetext" href="https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays">https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays</a>

CC: Changcheng Deng <a class="moz-txt-link-rfc2396E" href="mailto:deng.changcheng@zte.com.cn"><deng.changcheng@zte.com.cn></a>
Signed-off-by: Felix Kuehling <a class="moz-txt-link-rfc2396E" href="mailto:Felix.Kuehling@amd.com"><Felix.Kuehling@amd.com></a></pre>
    </blockquote>
    Reviewed-by: Philip Yang <a class="moz-txt-link-rfc2396E" href="mailto:Philip.Yang@amd.com"><Philip.Yang@amd.com></a><br>
    <blockquote type="cite" cite="mid:20220216003841.1419615-1-Felix.Kuehling@amd.com">
      <pre class="moz-quote-pre" wrap="">
---
 include/uapi/linux/kfd_ioctl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h
index 6e4268f5e482..baec5a41de3e 100644
--- a/include/uapi/linux/kfd_ioctl.h
+++ b/include/uapi/linux/kfd_ioctl.h
@@ -673,7 +673,7 @@ struct kfd_ioctl_svm_args {
        __u32 op;
        __u32 nattr;
        /* Variable length array of attributes */
-       struct kfd_ioctl_svm_attribute attrs[0];
+       struct kfd_ioctl_svm_attribute attrs[];
 };
 
 /**
</pre>
    </blockquote>
  </body>
</html>