Re: [PATCH v3] thunderbolt: Add the missed ida_simple_remove() in ring_request_msix()

2020-10-26 Thread Mika Westerberg
On Thu, Oct 15, 2020 at 04:40:53PM +0800, Jing Xiangfeng wrote: > ring_request_msix() misses to call ida_simple_remove() in an error path. > Add a label 'err_ida_remove' and jump to it. > > Fixes: 046bee1f9ab8 ("thunderbolt: Add MSI-X support") > Signed-off-by: Jing Xiangfeng Applied to thunderb

Re: [PATCH v3] thunderbolt: Add the missed ida_simple_remove() in ring_request_msix()

2020-10-15 Thread Andy Shevchenko
On Thu, Oct 15, 2020 at 04:40:53PM +0800, Jing Xiangfeng wrote: > ring_request_msix() misses to call ida_simple_remove() in an error path. > Add a label 'err_ida_remove' and jump to it. FWIW, Reviewed-by: Andy Shevchenko > Fixes: 046bee1f9ab8 ("thunderbolt: Add MSI-X support") > Signed-off-by: J

[PATCH v3] thunderbolt: Add the missed ida_simple_remove() in ring_request_msix()

2020-10-15 Thread Jing Xiangfeng
ring_request_msix() misses to call ida_simple_remove() in an error path. Add a label 'err_ida_remove' and jump to it. Fixes: 046bee1f9ab8 ("thunderbolt: Add MSI-X support") Signed-off-by: Jing Xiangfeng --- drivers/thunderbolt/nhi.c | 19 +++ 1 file changed, 15 insertions(+), 4 d