summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2023-03-16 01:04:50 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-03-20 20:00:58 +0300
commit58cdfe6f58b35f17f56386f5fcf937168a423ad1 (patch)
treec773fa1cf7ba139fe39feefbfa37884f6c23a28a /arch/sh
parent468c49f44759720a312e52d44a71c3949ed63d7c (diff)
downloadlinux-58cdfe6f58b35f17f56386f5fcf937168a423ad1.tar.xz
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 'arch/sh')
0 files changed, 0 insertions, 0 deletions