diff options
author | Baochen Qiang <quic_bqiang@quicinc.com> | 2024-05-24 10:40:21 +0800 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2024-05-28 20:45:35 +0300 |
commit | 0ae570703754858a77cc42b3c9fff42e9f084608 (patch) | |
tree | 27233227a317fdb0a35a63266ebb299cb7b1ee74 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0a993772e0f0934d730c0d451622c80e03a40ab1 (diff) |
wifi: ath12k: fix wrong definition of CE ring's base address
Base address of CE ring is defined as u32, currently this works
because DMA mask configured as 32 bit:
#define ATH12K_PCI_DMA_MASK 32
However this mask could be changed once firmware bugs are fixed
to fully support 36 bit DMA addressing. So to protect against any
future changes to the DMA mask, change the type of the fields that
are dependent upon it.
This is found during code review. Compile tested only.
Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240524024021.37711-1-quic_bqiang@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions