<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>On Thu, 2023-11-16 at 12:11 -0600, Gustavo A. R. Silva wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div> typedef struct PACKED_REGISTRY_TABLE</div>
<div> {</div>
<div>-    NvU32                   size;</div>
<div>-    NvU32                   numEntries;</div>
<div>-    PACKED_REGISTRY_ENTRY   entries[0];</div>
<div>+       NvU32                   size;</div>
<div>+       NvU32                   numEntries;</div>
<div>+       PACKED_REGISTRY_ENTRY   entries[] __counted_by(numEntries);</div>
<div> } PACKED_REGISTRY_TABLE;</div>
</blockquote>
<div><br>
</div>
<div>Well, it's better than mine: <a href="https://lore.kernel.org/all/20231107234726.854248-1-ttabi@nvidia.com/T/">
https://lore.kernel.org/all/20231107234726.854248-1-ttabi@nvidia.com/T/</a></div>
<div><span></span></div>
</body>
</html>