[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1287311135.1998.154.camel@laptop>
Date: Sun, 17 Oct 2010 12:25:35 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Jan Kiszka <jan.kiszka@....de>
Cc: "David S. Miller" <davem@...emloft.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
i4ldeveloper@...tserv.isdn4linux.de,
Linux Netdev List <netdev@...r.kernel.org>,
Karsten Keil <isdn@...ux-pingi.de>
Subject: Re: [PATCH] CAPI: Silence lockdep warning on get_capi_appl_by_nr
usage
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists