summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2021-03-26 03:38:26 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-05-26 19:11:41 +0300
commit0a5d8a9d226fe5ef54b08a8c5f42add49d78484e (patch)
treea999c60fa7985bacc02e8f043eb2be78bebcfaac /tools/perf/scripts/python/check-perf-trace.py
parentc40591cc3d48194faa80bda652d86a1ed8e221be (diff)
downloadlinux-0a5d8a9d226fe5ef54b08a8c5f42add49d78484e.tar.xz
fm10k: move error check
The error check and set_bit are placed in such a way that sparse (C=2) warns: .../fm10k_pci.c:1395:9: warning: context imbalance in 'fm10k_msix_mbx_pf' - different lock contexts for basic block Which seems a little odd, but the code can obviously be moved to where the variable is being set without changing functionality at all, and it even seems to make a bit more sense with the check closer to the set. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions