Home
last modified time | relevance | path

Searched hist:"3 a5fde16fc2f06109eba04fcc6f3f1b25cd7fee5" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.hdiff 3a5fde16fc2f06109eba04fcc6f3f1b25cd7fee5 Wed Aug 14 13:39:25 CEST 2024 Ricardo Ribalda <ribalda@chromium.org> media: venus: Refactor hfi_session_empty_buffer_uncompressed_plane0_pkt

The single element array data[1] is never used. Replace it with a
padding field of the same size.

This fixes the following cocci error:
drivers/media/platform/qcom/venus/hfi_cmds.h:163:5-9: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Acked-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>