diff options
author | 2023-06-16 11:03:34 +0200 | |
---|---|---|
committer | 2023-09-11 15:55:03 +0200 | |
commit | 424c82e8ad56756bb98b08268ffcf68d12d183eb (patch) | |
tree | 68e949cee7070623d7bef2d967b18a34e558ef51 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iwlwifi: mvm: handle PS changes in vif_cfg_changed (diff) | |
download | wireguard-linux-424c82e8ad56756bb98b08268ffcf68d12d183eb.tar.xz wireguard-linux-424c82e8ad56756bb98b08268ffcf68d12d183eb.zip |
wifi: iwlwifi: dbg_ini: fix structure packing
The iwl_fw_ini_error_dump_range structure has conflicting alignment
requirements for the inner union and the outer struct:
In file included from drivers/net/wireless/intel/iwlwifi/fw/dbg.c:9:
drivers/net/wireless/intel/iwlwifi/fw/error-dump.h:312:2: error: field within 'struct iwl_fw_ini_error_dump_range' is less aligned than 'union iwl_fw_ini_error_dump_range::(anonymous at drivers/net/wireless/intel/iwlwifi/fw/error-dump.h:312:2)' and is usually due to 'struct iwl_fw_ini_error_dump_range' being packed, which can lead to unaligned accesses [-Werror,-Wunaligned-access]
union {
As the original intention was apparently to make the entire structure
unaligned, mark the innermost members the same way so the union
becomes packed as well.
Fixes: 973193554cae6 ("iwlwifi: dbg_ini: dump headers cleanup")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230616090343.2454061-1-arnd@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions