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 initialize visible to somethi...
details: https://anonhg.NetBSD.org/src/rev/3739cb837687
branches: trunk
changeset: 1028209:3739cb837687
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:49:56 2021 +0000
description:
initialize visible to something. This looks like a bug.
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/drm_plane_helper.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 25b2b0a4d3ec -r 3739cb837687 sys/external/bsd/drm2/dist/drm/drm_plane_helper.c
--- a/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c Sun Dec 19 09:49:47 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c Sun Dec 19 09:49:56 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_plane_helper.c,v 1.5 2021/12/18 23:44:57 riastradh Exp $ */
+/* $NetBSD: drm_plane_helper.c,v 1.6 2021/12/19 09:49:56 riastradh Exp $ */
/*
* Copyright (C) 2014 Intel Corporation
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_plane_helper.c,v 1.5 2021/12/18 23:44:57 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_plane_helper.c,v 1.6 2021/12/19 09:49:56 riastradh Exp $");
#include <linux/list.h>
@@ -178,7 +178,7 @@
};
struct drm_connector **connector_list;
int num_connectors, ret;
- bool visible;
+ bool visible = false; /* XXX wasn't initialized normally. Looks like bug. */
ret = drm_plane_helper_check_update(plane, crtc, fb,
&src, &dest,
Home |
Main Index |
Thread Index |
Old Index