diff options
| author | 2026-09-26 20:17:33 +0300 | |
|---|---|---|
| committer | 2026-10-14 11:56:37 +0300 | |
| commit | f7357ab44fe8f001705a604db48a2843dd8f12f7 (patch) | |
| tree | 938a8e5c11063d881443862afd759c3feb736e94 /scripts/Makefile.thinlto | |
| parent | wifi: iwlwifi: support RX BAID modify command version 3 (diff) | |
wifi: iwlwifi: drop the orphaned nic_access annotations
commit 5b63d0ae94cc ("compiler-context-analysis: Remove Sparse support")
deleted the Sparse implementation of the lock annotations.
__acquires()/__releases()/__acquire()/__release() are gone; the macros
now only map onto clang's context analysis and expand to nothing for gcc.
The nic_access annotations describe nothing anymore:
- Every one of them is a __releases() with no matching __acquires().
The acquire side was the __cond_lock() wrapper around
_iwl_trans_grab_nic_access(), which went away together with
__cond_lock() itself. The names don't even agree - PCIe releases
nic_access_nobh while the generic wrapper calling it claims
nic_access.
- The __acquire()/__release(reg_lock) pairs only existed
to silence Sparse
Use lockdep_assert_held() instead, which unlike the annotations actually
runs, and add the missing assertion to
iwl_trans_pcie_resched_with_nic_access().
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20260926201527.f818a7e09def.Iccecaabe0f37525430377ae1c0db6fd7bbf7625a@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
