aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJohan Hedberg <[email protected]>2015-06-18 21:05:31 +0300
committerJohan Hedberg <[email protected]>2015-06-18 21:05:31 +0300
commit952497b159468477392f9b562b904da9bc76d468 (patch)
tree7bd7066d0ae89dbca382ed83b688c1293f0e82df /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent39ecfad68f14b71b6d1917c27eb01c4936f88bda (diff)
Bluetooth: Fix warning of potentially uninitialized adv_instance variable
Rework the logic of checking for a valid adv_instance for non-zero cp->instance values. Without this change we may get (false positive) warnings as follows: >> net/bluetooth/mgmt.c:7294:29: warning: 'adv_instance' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Johan Hedberg <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions