WSL2-Linux-Kernel/drivers/thunderbolt
Tom Rix 8dc1c6efd7 thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit
commit 58cdfe6f58 upstream.

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: 468c49f447 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-30 12:47:52 +02:00
..
Kconfig
Makefile
acpi.c
cap.c
ctl.c thunderbolt: Use the actual buffer in tb_async_error() 2022-09-08 12:28:05 +02:00
ctl.h
debugfs.c
dma_port.c
dma_port.h
dma_test.c
domain.c
eeprom.c
icm.c thunderbolt: Add support for Intel Maple Ridge single port controller 2022-09-28 11:11:42 +02:00
lc.c
nhi.c thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit 2023-03-30 12:47:52 +02:00
nhi.h thunderbolt: Add support for Intel Maple Ridge single port controller 2022-09-28 11:11:42 +02:00
nhi_ops.c
nhi_regs.h thunderbolt: Disable interrupt auto clear for rings 2023-03-30 12:47:52 +02:00
nvm.c
path.c thunderbolt: Tear down existing tunnels when resuming from hibernate 2022-11-16 09:58:12 +01:00
property.c
quirks.c
retimer.c thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
sb_regs.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
switch.c thunderbolt: Call tb_check_quirks() after initializing adapters 2023-03-30 12:47:51 +02:00
tb.c thunderbolt: Add DP OUT resource when DP tunnel is discovered 2022-11-16 09:58:13 +01:00
tb.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
tb_msgs.h
tb_regs.h thunderbolt: Explicitly enable lane adapter hotplug events at startup 2022-10-26 12:34:32 +02:00
test.c thunderbolt: Use different lane for second DisplayPort tunnel 2022-06-14 18:36:20 +02:00
tmu.c
tunnel.c thunderbolt: Use correct function to calculate maximum USB3 link rate 2023-01-24 07:22:46 +01:00
tunnel.h thunderbolt: Tear down existing tunnels when resuming from hibernate 2022-11-16 09:58:12 +01:00
usb4.c thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
usb4_port.c
xdomain.c