aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2023-03-15 22:04:50 +0000
committerMika Westerberg <[email protected]>2023-03-20 17:00:58 +0000
commit58cdfe6f58b35f17f56386f5fcf937168a423ad1 (patch)
treec773fa1cf7ba139fe39feefbfa37884f6c23a28a /tools/perf/scripts/python/stackcollapse.py
parentthunderbolt: Disable interrupt auto clear for rings (diff)
downloadkernel-58cdfe6f58b35f17f56386f5fcf937168a423ad1.tar.gz
kernel-58cdfe6f58b35f17f56386f5fcf937168a423ad1.zip
thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit
cppcheck reports drivers/thunderbolt/nhi.c:74:7: style: Local variable 'bit' shadows outer variable [shadowVariable] int bit; ^ drivers/thunderbolt/nhi.c:66:6: note: Shadowed declaration int bit = ring_interrupt_index(ring) & 31; ^ drivers/thunderbolt/nhi.c:74:7: note: Shadow variable int bit; ^ For readablity rename the outer to interrupt_bit and the innner to auto_clear_bit. Fixes: 468c49f44759 ("thunderbolt: Disable interrupt auto clear for ring") Cc: [email protected] Signed-off-by: Tom Rix <[email protected]> Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions