summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2024-07-11 02:09:13 +0300
committerKees Cook <kees@kernel.org>2024-08-23 02:59:48 +0300
commit32ef4b710cbe1a8901534033872a5bc6b1618bbc (patch)
treebd6da4b29bc4492b604b870a92364831e9c10eb6 /lib/string_helpers.c
parentc93452777f537b2f6c3c601dc484821142b07dc7 (diff)
downloadlinux-32ef4b710cbe1a8901534033872a5bc6b1618bbc.tar.xz
media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Add __counted_by annotation
The only direct user of struct hfi_session_release_buffer_pkt is pkt_session_unset_buffers() which sets "num_buffers" before using it as a loop counter for accessing "buffer_info". Add the __counted_by annotation to reflect the relationship. Reviewed-by: Vikash Garodia <quic_vgarodia@quicinc.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Dikshita Agarwal <quic_dikshita@quicinc.com> Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://lore.kernel.org/r/20240710230914.3156277-2-kees@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions