linux/drivers/thunderbolt
Dan Carpenter 08fe7ae185 thunderbolt: Fix off by one in tb_port_find_retimer()
This array uses 1-based indexing so it corrupts memory one element
beyond of the array.  Fix it by making the array one element larger.

Fixes: dacb12877d ("thunderbolt: Add support for on-board retimers")
Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2021-03-30 13:38:10 +03:00
..
acpi.c thunderbolt: Changes for v5.12 merge window 2021-02-09 13:00:07 +01:00
cap.c thunderbolt: cap: Fix kernel-doc formatting issue 2021-01-28 12:33:18 +03:00
ctl.c thunderbolt: ctl: Fix kernel-doc descriptions of non-static functions 2021-02-04 10:38:37 +03:00
ctl.h thunderbolt: Populate PG field in hot plug acknowledgment packet 2019-12-18 15:34:25 +01:00
debugfs.c thunderbolt: Changes for v5.11 merge window 2020-12-08 13:41:45 +01:00
dma_port.c thunderbolt: dma_port: Check 'dma_port_flash_write_block()'s return value 2021-01-28 12:33:06 +03:00
dma_port.h thunderbolt: Convert rest of the driver files to use SPDX identifier 2018-10-02 15:52:08 -07:00
dma_test.c thunderbolt: dma_test: Drop unnecessary include 2021-02-04 10:39:13 +03:00
domain.c thunderbolt: Allow disabling XDomain protocol 2021-02-04 10:45:25 +03:00
eeprom.c thunderbolt: eeprom: Fix kernel-doc descriptions of non-static functions 2021-02-04 10:38:37 +03:00
icm.c thunderbolt: Changes for v5.12 merge window 2021-02-09 13:00:07 +01:00
Kconfig thunderbolt: Add DMA traffic test driver 2020-11-11 10:20:16 +03:00
lc.c thunderbolt: Start lane initialization after sleep 2021-01-11 17:15:42 +03:00
Makefile thunderbolt: Add DMA traffic test driver 2020-11-11 10:20:16 +03:00
nhi_ops.c thunderbolt: Software CM only should set force power in Tiger Lake 2020-09-03 12:06:40 +03:00
nhi_regs.h thunderbolt: Add support for Intel Ice Lake 2019-08-26 12:15:06 +03:00
nhi.c thunderbolt: Add support for native USB4 _OSC 2021-02-04 10:45:25 +03:00
nhi.h thunderbolt: Changes for v5.11 merge window 2020-12-08 13:41:45 +01:00
nvm.c thunderbolt: Add support for separating the flush to SPI and authenticate 2020-07-01 13:51:49 +03:00
path.c thunderbolt: path: Fix kernel-doc descriptions of non-static functions 2021-02-04 10:38:37 +03:00
property.c thunderbolt: property: Fix a missing check of kzalloc 2019-03-28 11:30:47 +03:00
quirks.c thunderbolt: Correct tb_check_quirks() kernel-doc 2020-09-16 14:57:46 +03:00
retimer.c thunderbolt: Fix off by one in tb_port_find_retimer() 2021-03-30 13:38:10 +03:00
sb_regs.h thunderbolt: Add support for on-board retimers 2020-06-22 19:58:32 +03:00
switch.c thunderbolt: Initialize HopID IDAs in tb_switch_alloc() 2021-03-08 14:22:35 +03:00
tb_msgs.h thunderbolt: Add USB4 router operation proxy for firmware connection manager 2020-11-30 14:39:24 +03:00
tb_regs.h thunderbolt: Start lane initialization after sleep 2021-01-11 17:15:42 +03:00
tb.c thunderbolt: Increase runtime PM reference count on DP tunnel discovery 2021-03-08 14:22:42 +03:00
tb.h thunderbolt: Add support for native USB4 _OSC 2021-02-04 10:45:25 +03:00
test.c thunderbolt: Allow KUnit tests to be built also when CONFIG_USB4=m 2020-09-16 14:57:46 +03:00
tmu.c thunderbolt: Add support for Time Management Unit 2019-12-18 15:41:15 +01:00
tunnel.c thunderbolt: Add support for native USB4 _OSC 2021-02-04 10:45:25 +03:00
tunnel.h thunderbolt: Add USB3 bandwidth management 2020-06-22 19:58:20 +03:00
usb4.c thunderbolt: Add support for native USB4 _OSC 2021-02-04 10:45:25 +03:00
xdomain.c thunderbolt: Add support for native USB4 _OSC 2021-02-04 10:45:25 +03:00