diff options
| author | Miaoqing Pan <quic_miaoqing@quicinc.com> | 2024-08-13 04:30:27 +0300 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-02-18 20:53:34 +0300 |
| commit | 9ee2578c343a2c8b6cf6c43f2f385cdb56a25250 (patch) | |
| tree | 49974203e6743d463cc0df4e9f2fbbdeed5a6e1e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 7b19d5adadfef791d52fd0412a75ebb8f9f27a6b (diff) | |
| download | linux-9ee2578c343a2c8b6cf6c43f2f385cdb56a25250.tar.xz | |
wifi: ath11k: use union for vaddr and iaddr in target_mem_chunk
The value of 'ab->hw_params.fixed_mem_region' determines that
only one variable 'vaddr' or 'iaddr' is used in target_mem_chunk.
So use an anonymous union instead, easy to check whether the
memory is set or not.
Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-04358-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1
Signed-off-by: Miaoqing Pan <quic_miaoqing@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://patch.msgid.link/20240813013028.2708111-1-quic_miaoqing@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
