]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: thunderbolt: Fix the parameter passing of tb_xdomain_enable_paths()/tb_xdomain_d...
authorzhangjianrong <zhangjianrong5@huawei.com>
Sat, 28 Jun 2025 09:49:20 +0000 (17:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:22 +0000 (16:28 +0200)
commit81667abecebc8af9623ea566df76ae2b77b988c5
tree538d51bcf886df96da0e712fa33461245107d1cb
parent99f142ec75dd4f83eec15d5249a44ab6b32efc7c
net: thunderbolt: Fix the parameter passing of tb_xdomain_enable_paths()/tb_xdomain_disable_paths()

[ Upstream commit 8ec31cb17cd355cea25cdb8496d9b3fbf1321647 ]

According to the description of tb_xdomain_enable_paths(), the third
parameter represents the transmit ring and the fifth parameter represents
the receive ring. tb_xdomain_disable_paths() is the same case.

[Jakub] Mika says: it works now because both rings ->hop is the same

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/20250625051149.GD2824380@black.fi.intel.com
Signed-off-by: zhangjianrong <zhangjianrong5@huawei.com>
Link: https://patch.msgid.link/20250628094920.656658-1-zhangjianrong5@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/thunderbolt/main.c