diff options
| author | Kees Cook <[email protected]> | 2024-07-10 23:09:13 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2024-08-22 23:59:48 +0000 |
| commit | 32ef4b710cbe1a8901534033872a5bc6b1618bbc (patch) | |
| tree | bd6da4b29bc4492b604b870a92364831e9c10eb6 /rust/helpers/security.c | |
| parent | media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Replace 1-elem... (diff) | |
| download | kernel-32ef4b710cbe1a8901534033872a5bc6b1618bbc.tar.gz kernel-32ef4b710cbe1a8901534033872a5bc6b1618bbc.zip | |
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 <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Reviewed-by: Dikshita Agarwal <[email protected]>
Reviewed-by: Gustavo A. R. Silva <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions
