Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/scheduler Avoid kernel assert...



details:   https://anonhg.NetBSD.org/src/rev/43a984d7547e
branches:  trunk
changeset: 1028886:43a984d7547e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 12:24:12 2021 +0000

description:
Avoid kernel assertion mod->mod_required == NULL kern_module.c:910


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/scheduler/sched_fence.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4819a45822b5 -r 43a984d7547e sys/external/bsd/drm2/dist/drm/scheduler/sched_fence.c
--- a/sys/external/bsd/drm2/dist/drm/scheduler/sched_fence.c    Sun Dec 19 12:24:05 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/scheduler/sched_fence.c    Sun Dec 19 12:24:12 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sched_fence.c,v 1.3 2021/12/19 12:23:16 riastradh Exp $        */
+/*     $NetBSD: sched_fence.c,v 1.4 2021/12/19 12:24:12 riastradh Exp $        */
 
 /*
  * Copyright 2015 Advanced Micro Devices, Inc.
@@ -24,7 +24,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sched_fence.c,v 1.3 2021/12/19 12:23:16 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sched_fence.c,v 1.4 2021/12/19 12:24:12 riastradh Exp $");
 
 #include <linux/kthread.h>
 #include <linux/module.h>
@@ -192,7 +192,7 @@
 MODULE_LICENSE("GPL and additional rights");
 
 #ifdef __NetBSD__
-MODULE(MODULE_CLASS_MISC, drmsched, "drmsched");
+MODULE(MODULE_CLASS_MISC, drmsched, NULL);
 static int
 drmsched_modcmd(modcmd_t cmd, void *arg)
 {



Home | Main Index | Thread Index | Old Index