With this patchset we are done with all the cocci warning/errors. To: Stanimir Varbanov <stanimir.k.varbanov@xxxxxxxxx> To: Vikash Garodia <quic_vgarodia@xxxxxxxxxxx> To: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx> To: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> Cc: Hans Verkuil <hverkuil-cisco@xxxxxxxxx> Cc: linux-media@xxxxxxxxxxxxxxx Cc: linux-arm-msm@xxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx> Changes in v7: - Invert other of tags. SoB is now the first for all the patches - Link to v6: https://lore.kernel.org/r/20240813-cocci-flexarray-v6-0-de903fd8d988@xxxxxxxxxxxx Changes in v6: Thanks Bryan - Rebase - Instead of removing the unsused structures convert them to flex arrays - Link to v5: https://lore.kernel.org/r/20240618-cocci-flexarray-v5-0-6a8294942f48@xxxxxxxxxxxx Changes in v5: Thanks Vikash - Remove patches already merged - Fix typos and remove hfi_resource_ocmem_requirement - Link to v4: https://lore.kernel.org/r/20240606-cocci-flexarray-v4-0-3379ee5eed28@xxxxxxxxxxxx Changes in v4: - Remove patches already merged - Combine dvb-frontend/mxl5xx patches and use flex on both (Thanks Hans) - Link to v3: https://lore.kernel.org/r/20240527-cocci-flexarray-v3-0-cda09c535816@xxxxxxxxxxxx Changes in v3: - Do not rename structure fields. (Thanks Bryan) - Link to v2: https://lore.kernel.org/r/20240507-cocci-flexarray-v2-0-7aea262cf065@xxxxxxxxxxxx Changes in v2: - allegro: Replace hard coded 1 with a define. (Thanks Michael) - Link to v1: https://lore.kernel.org/r/20240507-cocci-flexarray-v1-0-4a421c21fd06@xxxxxxxxxxxx --- Ricardo Ribalda (10): media: venus: Use flex array for hfi_session_release_buffer_pkt media: venus: Refactor struct hfi_uncompressed_plane_info media: venus: Refactor struct hfi_session_get_property_pkt media: venus: Refactor struct hfi_uncompressed_format_supported media: venus: Refactor hfi_session_empty_buffer_uncompressed_plane0_pkt media: venus: Refactor hfi_session_empty_buffer_compressed_pkt media: venus: Refactor hfi_sys_get_property_pkt media: venus: Refactor hfi_session_fill_buffer_pkt media: venus: Refactor hfi_buffer_alloc_mode_supported media: venus: Convert one-element-arrays to flex-arrays drivers/media/platform/qcom/venus/hfi_cmds.c | 8 ++++---- drivers/media/platform/qcom/venus/hfi_cmds.h | 18 +++++++++--------- drivers/media/platform/qcom/venus/hfi_helper.h | 20 ++++++++++---------- drivers/media/platform/qcom/venus/hfi_parser.c | 2 +- 4 files changed, 24 insertions(+), 24 deletions(-) --- base-commit: c80bfa4f9e0ebfce6ac909488d412347acbcb4f9 change-id: 20240507-cocci-flexarray-9a807a8e108e Best regards, -- Ricardo Ribalda <ribalda@xxxxxxxxxxxx>