aboutsummaryrefslogtreecommitdiff
path: root/lib/test_maple_tree.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2023-03-15 18:04:50 -0400
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-03-20 19:00:58 +0200
commit58cdfe6f58b35f17f56386f5fcf937168a423ad1 (patch)
treec773fa1cf7ba139fe39feefbfa37884f6c23a28a /lib/test_maple_tree.c
parent468c49f44759720a312e52d44a71c3949ed63d7c (diff)
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: stable@vger.kernel.org Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'lib/test_maple_tree.c')
0 files changed, 0 insertions, 0 deletions