linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Cc: Kees Cook <kees@kernel.org>,
	Vikash Garodia <quic_vgarodia@quicinc.com>,
	"Bryan O'Donoghue" <bryan.odonoghue@linaro.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>,
	linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: [PATCH 0/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt
Date: Wed, 10 Jul 2024 16:09:11 -0700	[thread overview]
Message-ID: <20240710230728.work.977-kees@kernel.org> (raw)

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(-)

-- 
2.34.1


             reply	other threads:[~2024-07-10 23:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10 23:09 Kees Cook [this message]
2024-07-10 23:09 ` [PATCH 1/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Replace 1-element array with flexible array Kees Cook
2024-07-10 23:16   ` Gustavo A. R. Silva
2024-07-11 12:19   ` Bryan O'Donoghue
2024-07-12 13:27   ` Vikash Garodia
2024-08-08  7:39   ` Dikshita Agarwal
2024-07-10 23:09 ` [PATCH 2/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Add __counted_by annotation Kees Cook
2024-07-10 23:17   ` Gustavo A. R. Silva
2024-07-11 12:19   ` Bryan O'Donoghue
2024-07-12 13:27   ` Vikash Garodia
2024-08-08  7:39   ` Dikshita Agarwal
2024-08-23  0:00 ` [PATCH 0/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt Kees Cook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240710230728.work.977-kees@kernel.org \
    --to=kees@kernel.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=gustavoars@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=quic_vgarodia@quicinc.com \
    --cc=stanimir.k.varbanov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).