]> git.ipfire.org Git - thirdparty/linux.git/commit
thunderbolt: Log path activation failures without WARN backtraces
authorChia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Fri, 2 Jan 2026 03:19:05 +0000 (11:19 +0800)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 5 Jan 2026 11:14:43 +0000 (12:14 +0100)
commit062191adfde0b11b01656ea6db51a9385fa3d104
treec6bd02558d9cf398118f99a893267833a0a27332
parent0c90fd379bb5d2eb02051f312a7bb45d56e006bf
thunderbolt: Log path activation failures without WARN backtraces

tb_path_activate() currently logs failures with tb_WARN(), which triggers
a stack trace. Transient conditions such as lane bonding or Type-C link
hiccups can fail path activation briefly, and the resulting backtraces are
noisy without aiding diagnosis.

Switch to tb_warn() for all path activation failures. The error code is
already returned to callers, and the warning still shows the message
without the backtrace.

Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/path.c