From: Peter Zijlstra <peterz@infradead.org>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: "David S. Miller" <davem@davemloft.net>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
i4ldeveloper@listserv.isdn4linux.de,
Linux Netdev List <netdev@vger.kernel.org>,
Karsten Keil <isdn@linux-pingi.de>
Subject: Re: [PATCH] CAPI: Silence lockdep warning on get_capi_appl_by_nr usage
Date: Sun, 17 Oct 2010 12:25:35 +0200 [thread overview]
Message-ID: <1287311135.1998.154.camel@laptop> (raw)
In-Reply-To: <4CB9891B.4060606@web.de>
On Sat, 2010-10-16 at 13:14 +0200, Jan Kiszka wrote:
> + WARN_ON_ONCE(!mutex_is_locked(&capi_controller_lock));
Note there is also lockdep_assert_held() which will actually validate
that the current task is the owner.
next prev parent reply other threads:[~2010-10-17 10:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-16 11:14 [PATCH] CAPI: Silence lockdep warning on get_capi_appl_by_nr usage Jan Kiszka
2010-10-17 10:25 ` Peter Zijlstra [this message]
2010-10-17 15:18 ` [PATCH v2] " Jan Kiszka
2010-10-21 11:29 ` David Miller
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=1287311135.1998.154.camel@laptop \
--to=peterz@infradead.org \
--cc=davem@davemloft.net \
--cc=i4ldeveloper@listserv.isdn4linux.de \
--cc=isdn@linux-pingi.de \
--cc=jan.kiszka@web.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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