android_kernel_xiaomi_sm7250/drivers/thunderbolt
Jing Xiangfeng 2df599fa6c thunderbolt: Add the missed ida_simple_remove() in ring_request_msix()
commit 7342ca34d931a357d408aaa25fadd031e46af137 upstream.

ring_request_msix() misses to call ida_simple_remove() in an error path.
Add a label 'err_ida_remove' and jump to it.

Fixes: 046bee1f9a ("thunderbolt: Add MSI-X support")
Cc: stable@vger.kernel.org
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-18 19:18:49 +01:00
..
cap.c
ctl.c
ctl.h
dma_port.c
dma_port.h
domain.c
eeprom.c
icm.c thunderbolt: Drop duplicated get_switch_at_route() 2020-05-27 17:37:40 +02:00
Kconfig
Makefile
nhi_regs.h
nhi.c thunderbolt: Add the missed ida_simple_remove() in ring_request_msix() 2020-11-18 19:18:49 +01:00
nhi.h
path.c
property.c
switch.c thunderbolt: Drop duplicated get_switch_at_route() 2020-05-27 17:37:40 +02:00
tb_msgs.h
tb_regs.h
tb.c thunderbolt: Drop duplicated get_switch_at_route() 2020-05-27 17:37:40 +02:00
tb.h thunderbolt: Drop duplicated get_switch_at_route() 2020-05-27 17:37:40 +02:00
tunnel_pci.c
tunnel_pci.h
xdomain.c thunderbolt: Fix memory leak if ida_simple_get() fails in enumerate_services() 2020-11-18 19:18:48 +01:00