Module Name:    src
Committed By:   riastradh
Date:           Tue May 23 08:16:43 UTC 2023

Modified Files:
        src/sys/kern: subr_autoconf.c

Log Message:
autoconf(9): Omit config_detach kernel lock assertion too for now.

like in config_attach_pseudo, this assertion almost certainly
indicates real bugs, but let's try to get the tests back and running
again before addressing those.


To generate a diff of this commit:
cvs rdiff -u -r1.312 -r1.313 src/sys/kern/subr_autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_autoconf.c
diff -u src/sys/kern/subr_autoconf.c:1.312 src/sys/kern/subr_autoconf.c:1.313
--- src/sys/kern/subr_autoconf.c:1.312	Tue May 23 00:31:42 2023
+++ src/sys/kern/subr_autoconf.c	Tue May 23 08:16:43 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_autoconf.c,v 1.312 2023/05/23 00:31:42 riastradh Exp $ */
+/* $NetBSD: subr_autoconf.c,v 1.313 2023/05/23 08:16:43 riastradh Exp $ */
 
 /*
  * Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.312 2023/05/23 00:31:42 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.313 2023/05/23 08:16:43 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -2319,8 +2319,6 @@ int
 config_detach(device_t dev, int flags)
 {
 
-	KASSERT(KERNEL_LOCKED_P());
-
 	device_acquire(dev);
 	return config_detach_release(dev, flags);
 }

Reply via email to