linux-sg2042/drivers/thunderbolt
Dan Carpenter 02729d17b1 thunderbolt: Fix reset response_type
There is a mistake here where we accidentally use sizeof(TB_CFG_PKG_RESET)
instead of just TB_CFG_PKG_RESET.  The size of an int is 4 so it's the
same as TB_CFG_PKG_NOTIFY_ACK.

Fixes: d7f781bfdb ("thunderbolt: Rework control channel to be more reliable")
Reported-by: Colin King <colin.king@canonical.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: stable <stable@vger.kernel.org> # 4.13
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-28 16:21:32 +02:00
..
Kconfig thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
Makefile thunderbolt: Add support for Internal Connection Manager (ICM) 2017-06-09 11:42:43 +02:00
cap.c thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
ctl.c thunderbolt: Fix reset response_type 2017-08-28 16:21:32 +02:00
ctl.h thunderbolt: Rework control channel to be more reliable 2017-06-09 11:42:43 +02:00
dma_port.c thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
dma_port.h thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
domain.c thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
eeprom.c thunderbolt: Do not enumerate more ports from DROM than the controller has 2017-08-10 14:25:35 -07:00
icm.c thunderbolt: icm: Ignore mailbox errors in icm_suspend() 2017-07-31 13:24:29 +02:00
nhi.c thunderbolt: Add support for Internal Connection Manager (ICM) 2017-06-09 11:42:43 +02:00
nhi.h thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
nhi_regs.h thunderbolt: Add support for Internal Connection Manager (ICM) 2017-06-09 11:42:43 +02:00
path.c thunderbolt: Clear hops before overwriting 2014-08-26 14:54:48 -07:00
switch.c thunderbolt: Allow clearing the key 2017-08-28 16:21:32 +02:00
tb.c thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
tb.h thunderbolt: use uuid_t instead of uuid_be 2017-07-24 17:50:18 +02:00
tb_msgs.h thunderbolt: use uuid_t instead of uuid_be 2017-07-24 17:50:18 +02:00
tb_regs.h thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tunnel_pci.c thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
tunnel_pci.h thunderbolt: Add support for simple pci tunnels 2014-06-19 14:07:47 -07:00