From: jsg Date: Fri, 19 Nov 2021 03:22:29 +0000 (+0000) Subject: drm/plane-helper: fix uninitialized variable reference X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d47dcf0f4ebe66cde1832ef0a8673b7a555438c8;p=openbsd drm/plane-helper: fix uninitialized variable reference From Alex Xu 2e548581fe5b48730d814916bd6bb8f8d8b5375a in linux 5.10.y/5.10.80 7be28bd73f23e53d6e7f5fe891ba9503fc0c7210 in mainline linux --- 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,