From: Hauke Mehrtens <hauke@hauke-m.de>
To: "Petr Štetiar" <ynezz@true.cz>, mcgrof@kernel.org
Cc: backports@vger.kernel.org, Oskari Rauta <oskari.rauta@gmail.com>
Subject: Re: [PATCH backports] headers: fix lockdep_assert_not_held()
Date: Tue, 12 Apr 2022 00:00:24 +0200 [thread overview]
Message-ID: <60cc3552-3bac-ea43-b54f-b6d49945c2da@hauke-m.de> (raw)
In-Reply-To: <20220311194800.452-1-ynezz@true.cz>
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 <oskari.rauta@gmail.com>
> Signed-off-by: Petr Štetiar <ynezz@true.cz>
Thank you for your patch, I applied it to master.
Hauke
--
To unsubscribe from this list: send the line "unsubscribe backports" in
prev parent reply other threads:[~2022-04-11 22:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 19:48 [PATCH backports] headers: fix lockdep_assert_not_held() Petr Štetiar
2022-04-11 22:00 ` Hauke Mehrtens [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60cc3552-3bac-ea43-b54f-b6d49945c2da@hauke-m.de \
--to=hauke@hauke-m.de \
--cc=backports@vger.kernel.org \
--cc=mcgrof@kernel.org \
--cc=oskari.rauta@gmail.com \
--cc=ynezz@true.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).