diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-06-09 15:24:54 -0700 |
|---|---|---|
| committer | Georgi Djakov <djakov@kernel.org> | 2026-07-22 12:14:24 +0300 |
| commit | bd8a131fbe4989b8e57aa74fdc974900460ac387 (patch) | |
| tree | bd5ca501759a370185dd063fa95146a02ac5a909 /include/linux/workqueue_api.h | |
| parent | c96fc14322cee45cdf751cb4ae62c9eab25bc643 (diff) | |
interconnect: qcom: simplify allocation
Use a flexible array member to reduce allocation by 1.
Add __counted_by for extra runtime analysis. Move counting variable
assignment after allocation before any array access.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260609222454.37352-1-rosenp@gmail.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
