]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d078242a0c2036028da6305f6675a8de711e7f5
tree69f00d07e6623e3223979f09407db381ab5218b8
parent9b6a6e018879a252fac80ab0439a2d52829226fb
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