Module Name: src
Committed By: riastradh
Date: Sun Dec 19 09:49:56 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/drm: drm_plane_helper.c
Log Message:
initialize visible to something. This looks like a bug.
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/sys/external/bsd/drm2/dist/drm/drm_plane_helper.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/external/bsd/drm2/dist/drm/drm_plane_helper.c
diff -u src/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c:1.5 src/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c:1.6
--- src/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c:1.5 Sat Dec 18 23:44:57 2021
+++ src/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c Sun Dec 19 09:49:56 2021
@@ -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 @@ static int drm_primary_helper_update(str
};
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,