Home
last modified time | relevance | path

Searched hist:d604a7bfd0f866cea85d295060c5dd853c421939 (Results 1 – 2 of 2) sorted by relevance

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

Replace a single length element array with an element.

This fixes the following cocci warning:
drivers/media/platform/qcom/venus/hfi_cmds.h:77: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>
H A Dhfi_cmds.cdiff d604a7bfd0f866cea85d295060c5dd853c421939 Wed Aug 14 13:39:27 CEST 2024 Ricardo Ribalda <ribalda@chromium.org> media: venus: Refactor hfi_sys_get_property_pkt

Replace a single length element array with an element.

This fixes the following cocci warning:
drivers/media/platform/qcom/venus/hfi_cmds.h:77: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>