mac80211: headers: fix lockdep_assert_not_held()
LOCK_STATE_HELD define was omitted during backport of lockdep_assert_not_held() which leads to build failures of kernels with CONFIG_LOCKDEP=y: backports-5.15.8-1/backport-include/linux/lockdep.h:16:47: error: 'LOCK_STATE_HELD' undeclared (first use in this function) Fix it by adding missing LOCK_STATE_HELD define. References: PR#9373 Reported-by:Oskari Rauta <oskari.rauta@gmail.com> Signed-off-by:
Petr Štetiar <ynezz@true.cz>
Loading
Please register or sign in to comment