diff options
author | Baochen Qiang <quic_bqiang@quicinc.com> | 2022-05-17 08:48:44 +0800 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2022-05-22 15:28:59 +0300 |
commit | 77bbbd5e0ed3b5998a353b0948584faa4f565f0e (patch) | |
tree | 3c43ce56711717d322342fadcb7e1781f3f0acb0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 75a7062e533e309a9ca0812c69f3ac3cefadb8b1 (diff) |
ath11k: Fix warning on variable 'sar' dereference before check
We are seeing below warning:
warn: variable dereferenced before check 'sar'
Fix it by moving ahead pointer check on 'sar'.
Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3
Fixes: 652f69ed9c1b ("ath11k: Add support for SAR")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220517004844.2412660-1-quic_bqiang@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions