aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBaochen Qiang <[email protected]>2022-05-17 08:48:44 +0800
committerKalle Valo <[email protected]>2022-05-22 15:28:59 +0300
commit77bbbd5e0ed3b5998a353b0948584faa4f565f0e (patch)
tree3c43ce56711717d322342fadcb7e1781f3f0acb0 /tools/perf/scripts/python/event_analyzing_sample.py
parent75a7062e533e309a9ca0812c69f3ac3cefadb8b1 (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 <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Baochen Qiang <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions