]> git.ipfire.org Git - thirdparty/linux.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)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Jul 2025 21:15:09 +0000 (14:15 -0700)
commit8ec31cb17cd355cea25cdb8496d9b3fbf1321647
tree555aed56479916e26bb14d9fc7c711fc951cf84b
parente96ee511c906c59b7c4e6efd9d9b33917730e000
net: thunderbolt: Fix the parameter passing of tb_xdomain_enable_paths()/tb_xdomain_disable_paths()

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>
drivers/net/thunderbolt/main.c