/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /*
- * Copyright (C) 2014, 2018-2020 Intel Corporation
+ * Copyright (C) 2014, 2018-2021 Intel Corporation
  * Copyright (C) 2014-2015 Intel Mobile Communications GmbH
  * Copyright (C) 2016-2017 Intel Deutschland GmbH
  */
 /**
  * struct iwl_fw_ini_error_dump - ini region dump
  * @header: the header of this region
- * @ranges: the memory ranges of this region
+ * @data: data of memory ranges in this region,
+ *     see &struct iwl_fw_ini_error_dump_range
  */
 struct iwl_fw_ini_error_dump {
        struct iwl_fw_ini_error_dump_header header;
-       struct iwl_fw_ini_error_dump_range ranges[];
+       u8 data[];
 } __packed;
 
 /* This bit is used to differentiate between lmac and umac rxf */
  * struct iwl_fw_ini_err_table_dump - ini error table dump
  * @header: header of the region
  * @version: error table version
- * @ranges: the memory ranges of this this region
+ * @data: data of memory ranges in this region,
+ *     see &struct iwl_fw_ini_error_dump_range
  */
 struct iwl_fw_ini_err_table_dump {
        struct iwl_fw_ini_error_dump_header header;
        __le32 version;
-       struct iwl_fw_ini_error_dump_range ranges[];
+       u8 data[];
 } __packed;
 
 /**
  * @write_ptr: write pointer position in the buffer
  * @cycle_cnt: cycles count
  * @cur_frag: current fragment in use
- * @ranges: the memory ranges of this this region
+ * @data: data of memory ranges in this region,
+ *     see &struct iwl_fw_ini_error_dump_range
  */
 struct iwl_fw_ini_monitor_dump {
        struct iwl_fw_ini_error_dump_header header;
        __le32 write_ptr;
        __le32 cycle_cnt;
        __le32 cur_frag;
-       struct iwl_fw_ini_error_dump_range ranges[];
+       u8 data[];
 } __packed;
 
 /**
  * @header: header of the region
  * @type: type of special memory
  * @version: struct special memory version
- * @ranges: the memory ranges of this this region
+ * @data: data of memory ranges in this region,
+ *     see &struct iwl_fw_ini_error_dump_range
  */
 struct iwl_fw_ini_special_device_memory {
        struct iwl_fw_ini_error_dump_header header;
        __le16 type;
        __le16 version;
-       struct iwl_fw_ini_error_dump_range ranges[];
+       u8 data[];
 } __packed;
 
 /**