+3
−11
Loading
Simplifies allocations by using a flexible array member in this struct. Add __counted_by to get extra runtime analysis. Move counting variable assignment immediately after allocation as required by __counted_by. Signed-off-by:Rosen Penev <rosenp@gmail.com> Signed-off-by:
Tony Luck <tony.luck@intel.com> Reviewed-by:
Qiuxu Zhuo <qiuxu.zhuo@intel.com> Link: https://patch.msgid.link/20260313215637.6371-1-rosenp@gmail.com