diff options
| author | Mohammed EL Kadiri <med08elkadiri@gmail.com> | 2026-06-07 12:19:33 +0100 |
|---|---|---|
| committer | Bryan O'Donoghue <bod@kernel.org> | 2026-07-30 10:47:47 +0100 |
| commit | 4bf9ae6229a02f3600af6b56f763f819110130ee (patch) | |
| tree | 32e9c3aac4c1c6af2a8e5a2cee73799ba6ca011c /tools/perf/scripts/python/parallel-perf.py | |
| parent | b9c2215bdedc9c532a7e9d57ec49ee1b6381f863 (diff) | |
media: venus: Annotate flex arrays with __counted_by()
Add __counted_by() annotations to flexible array members:
- hfi_capabilities::data, counted by num_capabilities
- hfi_profile_level_supported::profile_level, counted by profile_count
- hfi_resource_ocmem_requirement_info::requirements, counted by num_entries
This improves run-time bounds checking via CONFIG_UBSAN_BOUNDS and
compile-time object size resolution via __builtin_dynamic_object_size().
Assisted-by: Claude:claude-opus-4
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mohammed EL Kadiri <med08elkadiri@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
