summaryrefslogtreecommitdiff
path: root/drivers/media/platform/allegro-dvt/allegro-mail.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/allegro-dvt/allegro-mail.h')
-rw-r--r--drivers/media/platform/allegro-dvt/allegro-mail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/allegro-dvt/allegro-mail.h b/drivers/media/platform/allegro-dvt/allegro-mail.h
index a5686058d754..c0c9013f1aab 100644
--- a/drivers/media/platform/allegro-dvt/allegro-mail.h
+++ b/drivers/media/platform/allegro-dvt/allegro-mail.h
@@ -184,7 +184,7 @@ struct mcu_msg_push_buffers_internal {
struct mcu_msg_header header;
u32 channel_id;
size_t num_buffers;
- struct mcu_msg_push_buffers_internal_buffer buffer[];
+ struct mcu_msg_push_buffers_internal_buffer buffer[] __counted_by(num_buffers);
};
struct mcu_msg_put_stream_buffer {