Skip to content
Snippets Groups Projects
Commit 9cdd15d8 authored by Petr Štetiar's avatar Petr Štetiar
Browse files

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: default avatarOskari Rauta <oskari.rauta@gmail.com>
Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
parent 41be1a2d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment