Skip to content
Commit cdddb626 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Kees Cook
Browse files

media: venus: Use struct_size_t() helper in pkt_session_unset_buffers()



Prefer struct_size_t() over struct_size() when no pointer instance
of the structure type is present.

Signed-off-by: default avatar"Gustavo A. R. Silva" <gustavoars@kernel.org>
Reviewed-by: default avatarVikash Garodia <quic_vgarodia@quicinc.com>
Link: https://lore.kernel.org/r/ZKBfoqSl61jfpO2r@work
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent a8f014ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment