Re: [PATCH backports] headers: fix lockdep_assert_not_held()
Hauke Mehrtens <[email protected]> Tue, 12 Apr 2022 00:00:24 +0200
| Newsgroups | org.kernel.vger.backports |
|---|---|
| Message-ID | <[email protected]> |
On 3/11/22 20:48, Petr Štetiar wrote:
> 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: https://github.com/openwrt/openwrt/pull/9373
> Fixes: af58b27b1b1a ("headers: Add lockdep_assert_not_held()")
> Reported-by: Oskari Rauta <[email protected]>
> Signed-off-by: Petr Štetiar <[email protected]>
Thank you for your patch, I applied it to master.
Hauke
--
To unsubscribe from this list: send the line "unsubscribe backports" in