iwlwifi: fw: fix debug dump data declarations
authorJohannes Berg <johannes.berg@intel.com>
Thu, 19 Aug 2021 15:40:31 +0000 (18:40 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:37:06 +0000 (23:37 +0300)
commit8a433cb64ec5494571f313ba04f28ff58490c8c4
tree69f00d07e6623e3223979f09407db381ab5218b8
parent394f419296727cb614494c74b233d9bd3b24e271
iwlwifi: fw: fix debug dump data declarations

The debug dump ranges aren't just an array of such ranges
since each range has a variable size. Therefore, the use
of a struct array is misleading at best.

Change it to be a u8 data[] instead of the struct array,
the code doesn't significantly change since it's actually
doing things correctly now.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210819183728.693c9891097d.Idcaab1fd659e8be2f56be647b2534befd61a4460@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/fw/error-dump.h