diff options
author | Anilkumar Kolli <[email protected]> | 2021-04-08 10:27:10 +0530 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-04-22 17:05:08 +0300 |
commit | ff9f732a87caa5f7bab72bea3aaad58db9b1ac60 (patch) | |
tree | f292720c3b78551f6d72e56ae2b0fea66a1048e0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 6dc89f070d2844900891b4efff0bf300ad8c07d2 (diff) |
ath11k: fix warning in ath11k_mhi_config
Initialize static variable ath11k_mhi_config for all hw_rev,
return error for unknown hw_rev.
This patch fixes below Smatch warning:
drivers/net/wireless/ath/ath11k/mhi.c:357 ath11k_mhi_register()
error: uninitialized symbol 'ath11k_mhi_config'.
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01734-QCAHKSWPL_SILICONZ-1
Fixes: a233811ef600 ("ath11k: Add qcn9074 mhi controller config")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Anilkumar Kolli <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions