mbox series

[0/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt

Message ID 20240710230728.work.977-kees@kernel.org (mailing list archive)
Headers show
Series media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt | expand

Message

Kees Cook July 10, 2024, 11:09 p.m. UTC
Hi,

This replaces the 1-element "fake" flexible array in struct
hfi_session_release_buffer_pkt with a modern flexible array and adds
the __counted_by annotation that was identified during the analysis.

Thanks!

-Kees

Kees Cook (2):
  media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Replace
    1-element array with flexible array
  media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Add
    __counted_by annotation

 drivers/media/platform/qcom/venus/hfi_cmds.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kees Cook Aug. 23, 2024, midnight UTC | #1
On Wed, 10 Jul 2024 16:09:11 -0700, Kees Cook wrote:
> This replaces the 1-element "fake" flexible array in struct
> hfi_session_release_buffer_pkt with a modern flexible array and adds
> the __counted_by annotation that was identified during the analysis.
> 
> Thanks!
> 
> -Kees
> 
> [...]

Applied to for-next/hardening, thanks!

[1/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Replace 1-element array with flexible array
      https://git.kernel.org/kees/c/c93452777f53
[2/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Add __counted_by annotation
      https://git.kernel.org/kees/c/32ef4b710cbe

Take care,