summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-06-09 15:24:54 -0700
committerGeorgi Djakov <djakov@kernel.org>2026-07-22 12:14:24 +0300
commitbd8a131fbe4989b8e57aa74fdc974900460ac387 (patch)
treebd5ca501759a370185dd063fa95146a02ac5a909 /include/linux/stacktrace.h
parentc96fc14322cee45cdf751cb4ae62c9eab25bc643 (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/stacktrace.h')
0 files changed, 0 insertions, 0 deletions