summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-04-02 00:47:26 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2026-04-07 10:00:26 +0300
commit498c05821bb42f70e9bf6512c3dec4aa821815d0 (patch)
treeed42242314c9f0139cccd5c5ab9b1101140f4b1d /include
parentc3e7cc8bc5ca08b2fae3d43c7c86f140daa873ef (diff)
downloadlinux-498c05821bb42f70e9bf6512c3dec4aa821815d0.tar.xz
thunderbolt: tunnel: Simplify allocation
Use a flexible array member and kzalloc_flex to combine allocations. Add __counted_by for extra runtime analysis. Move counting variable assignment after allocation. kzalloc_flex with GCC >= 15 does this automatically. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions