From d47dcf0f4ebe66cde1832ef0a8673b7a555438c8 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 19 Nov 2021 03:22:29 +0000 Subject: [PATCH] drm/plane-helper: fix uninitialized variable reference From Alex Xu 2e548581fe5b48730d814916bd6bb8f8d8b5375a in linux 5.10.y/5.10.80 7be28bd73f23e53d6e7f5fe891ba9503fc0c7210 in mainline linux --- sys/dev/pci/drm/drm_plane_helper.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/pci/drm/drm_plane_helper.c b/sys/dev/pci/drm/drm_plane_helper.c index 3aae7ea522f..c3f2292dc93 100644 --- a/sys/dev/pci/drm/drm_plane_helper.c +++ b/sys/dev/pci/drm/drm_plane_helper.c @@ -123,7 +123,6 @@ static int drm_plane_helper_check_update(struct drm_plane *plane, .crtc_w = drm_rect_width(dst), .crtc_h = drm_rect_height(dst), .rotation = rotation, - .visible = *visible, }; struct drm_crtc_state crtc_state = { .crtc = crtc, -- 2.20.1