(subset) [PATCH] drm/crtc: fix uninitialized variable use
Maxime Ripard
mripard at kernel.org
Fri Dec 8 15:01:57 UTC 2023
On Fri, 08 Dec 2023 15:12:38 +0200, Jani Nikula wrote:
> Commit 3823119b9c2b ("drm/crtc: Fix uninit-value bug in
> drm_mode_setcrtc") was supposed to fix use of an uninitialized variable,
> but introduced another.
>
> num_connectors is only initialized if crtc_req->count_connectors > 0,
> but it's used regardless. Fix it.
>
> [...]
Applied to drm/drm-misc (drm-misc-fixes).
Thanks!
Maxime
More information about the dri-devel
mailing list