acrn-kernel/drivers/thunderbolt
Tom Rix 58cdfe6f58 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: 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>
2023-03-20 19:00:58 +02:00
..
Kconfig
Makefile
acpi.c
cap.c
ctl.c thunderbolt: Add support for DisplayPort bandwidth allocation mode 2023-01-17 11:37:16 +02:00
ctl.h thunderbolt: Add support for DisplayPort bandwidth allocation mode 2023-01-17 11:37:16 +02:00
debugfs.c thunderbolt: Fix memory leak in margining 2023-03-13 11:54:14 +02:00
dma_port.c
dma_port.h
dma_test.c
domain.c
eeprom.c
icm.c
lc.c
nhi.c thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit 2023-03-20 19:00:58 +02:00
nhi.h
nhi_ops.c
nhi_regs.h thunderbolt: Disable interrupt auto clear for rings 2023-03-20 09:38:40 +02:00
nvm.c
path.c
property.c
quirks.c thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers 2023-03-13 11:54:31 +02:00
retimer.c thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-13 11:54:20 +02:00
sb_regs.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-13 11:54:20 +02:00
switch.c thunderbolt: Call tb_check_quirks() after initializing adapters 2023-03-13 11:54:25 +02:00
tb.c thunderbolt: Changes for v6.3 merge window 2023-02-08 12:49:26 +01:00
tb.h thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers 2023-03-13 11:54:31 +02:00
tb_msgs.h thunderbolt: Add support for DisplayPort bandwidth allocation mode 2023-01-17 11:37:16 +02:00
tb_regs.h thunderbolt: Add functions to support DisplayPort bandwidth allocation mode 2023-01-17 11:37:05 +02:00
test.c
tmu.c
tunnel.c thunderbolt: Changes for v6.3 merge window 2023-02-08 12:49:26 +01:00
tunnel.h thunderbolt: Add missing kernel-doc comment to tb_tunnel_maximum_bandwidth() 2023-01-27 08:25:59 +02:00
usb4.c thunderbolt: Use scale field when allocating USB3 bandwidth 2023-03-13 11:54:41 +02:00
usb4_port.c
xdomain.c driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00