svn commit: r326449 - head/sys/dev/bhnd/bhndb
Landon J. Fuller
landonf at FreeBSD.org
Sat Dec 2 00:09:59 UTC 2017
Author: landonf
Date: Sat Dec 2 00:09:58 2017
New Revision: 326449
URL: https://svnweb.freebsd.org/changeset/base/326449
Log:
bhndb(4): Fix incorrect assertion in bhndb_deregister_intr_handler().
When deregistered, a handler should be in an 'active' state.
Approved by: adrian (mentor, implicit)
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/bhnd/bhndb/bhndb_subr.c
Modified: head/sys/dev/bhnd/bhndb/bhndb_subr.c
==============================================================================
--- head/sys/dev/bhnd/bhndb/bhndb_subr.c Sat Dec 2 00:07:37 2017 (r326448)
+++ head/sys/dev/bhnd/bhndb/bhndb_subr.c Sat Dec 2 00:09:58 2017 (r326449)
@@ -957,7 +957,7 @@ void
bhndb_deregister_intr_handler(struct bhndb_resources *br,
struct bhndb_intr_handler *ih)
{
- KASSERT(!ih->ih_active, ("duplicate deregistration of interrupt "
+ KASSERT(ih->ih_active, ("duplicate deregistration of interrupt "
"handler %p", ih->ih_cookiep));
KASSERT(bhndb_find_intr_handler(br, ih) == ih,
More information about the svn-src-all
mailing list