Re: [PATCH][next] media: venus: Use struct_size_t() helper in pkt_session_unset_buffers()

From: Kees Cook
Date: Thu Jul 27 2023 - 13:12:11 EST


On Sat, 01 Jul 2023 11:17:22 -0600, Gustavo A. R. Silva wrote:
> Prefer struct_size_t() over struct_size() when no pointer instance
> of the structure type is present.

Applied to for-linus/hardening, thanks!

[1/1] media: venus: Use struct_size_t() helper in pkt_session_unset_buffers()
https://git.kernel.org/kees/c/cdddb626dc05

Take care,

--
Kees Cook