summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-10-19 21:25:54 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-10-19 21:25:54 +0900
commit3e3858e479a8fc0c78afb7da8ff65ed053f8ddce (patch)
tree2b65ad94de7ea20149f5c6f39f2cd8d17aa74899 /scripts/Makefile.thinlto
parent7d1e256fa1d0d72bcb1185a83e7251331cb6ec21 (diff)
downloadlinux-3e3858e479a8fc0c78afb7da8ff65ed053f8ddce.tar.gz
linux-3e3858e479a8fc0c78afb7da8ff65ed053f8ddce.zip
firewire: core: adjust context_unsafe() usage for lockdep checks
schedule_error_callback() requires a lock to be held by the caller. However, __fw_send_request() calls the function without holding any lock when retrieving the transaction label fails, as no lock is needed in this case. context_safe() is used to suppress the precondition check in compiler-based context analysis, but it does not affect lockdep checks. As a result, lockdep reports a violation of the precondition. Acquire the lock before calling the function instead of using context_unsafe(). Link: https://lore.kernel.org/r/20261019122555.328060-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions