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/drm Initialize priv->filp, lost in rem...
details: https://anonhg.NetBSD.org/src/rev/e5615efb8da4
branches: trunk
changeset: 1028482:e5615efb8da4
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:08:55 2021 +0000
description:
Initialize priv->filp, lost in removing drm_fops.c
Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/drm/drm_cdevsw.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 0697d55157f5 -r e5615efb8da4 sys/external/bsd/drm2/drm/drm_cdevsw.c
--- a/sys/external/bsd/drm2/drm/drm_cdevsw.c Sun Dec 19 11:08:47 2021 +0000
+++ b/sys/external/bsd/drm2/drm/drm_cdevsw.c Sun Dec 19 11:08:55 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_cdevsw.c,v 1.26 2021/12/19 10:45:33 riastradh Exp $ */
+/* $NetBSD: drm_cdevsw.c,v 1.27 2021/12/19 11:08:55 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_cdevsw.c,v 1.26 2021/12/19 10:45:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_cdevsw.c,v 1.27 2021/12/19 11:08:55 riastradh Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -177,6 +177,7 @@
if (error)
goto fail4;
}
+ priv->filp = fp;
mutex_lock(&dev->filelist_mutex);
list_add(&priv->lhead, &dev->filelist);
Home |
Main Index |
Thread Index |
Old Index