Read the whole thread, 2 messages PreviousNext Re: [PATCH v2 2/3] lockdep: add lockdep lock state defines FromJohannes Berg <johannes@sipsolutions.net> Date2021-02-26 18:05:16 Also inlinux-wireless, lkml quoted hunk@@ -5475,7 +5476,7 @@ noinstr int lock_is_held_type(const struct lockdep_map *lock, int read) /* avoid false negative lockdep_assert_not_held() * and lockdep_assert_held() */ - return -1; + return LOCK_STATE_UNKNOWN; I'd argue that then the other two return places here should also be changed. johannes
Keyboard shortcuts hback out one level jnext message in thread / next series-diff position kprevious message in thread / previous series-diff position ldrill in Escclose help / fold thread tree ?toggle this help