author: Karol Trzcinski <karolx.trzcinski@linux.intel.com> 2020-08-25 16:58:51 -0700
committer: Mark Brown <broonie@kernel.org> 2020-08-26 12:44:07 +0100
commit: 76ab546cd8f0c64d4603b2faad4558c5b670561e
parent: 9db6f4329cd2c16499d1c165311092f1b5c45a51
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/include/sound/sof/info.h b/include/sound/sof/info.h
index 5a55ba8b7e56..313e3e70c630 100644
--- a/include/sound/sof/info.h
+++ b/include/sound/sof/info.h
@@ -99,7 +99,7 @@ struct sof_ipc_window_elem {
struct sof_ipc_window {
struct sof_ipc_ext_data_hdr ext_hdr;
uint32_t num_windows;
- struct sof_ipc_window_elem window[];
+ struct sof_ipc_window_elem window[SOF_IPC_MAX_ELEMS];
} __packed;
struct sof_ipc_cc_version {