Re: [PATCH v2] drm/amd/display: fix dereference before NULL check

2021-12-27 Thread Alex Deucher
Applied. Thanks! Alex On Sun, Dec 26, 2021 at 6:16 AM José Expósito wrote: > > The "plane_state" pointer was access before checking if it was NULL. > > Avoid a possible NULL pointer dereference by accessing the plane > address after the check. > > Addresses-Coverity-ID: 1493892 ("Dereference be

[PATCH v2] drm/amd/display: fix dereference before NULL check

2021-12-27 Thread José Expósito
The "plane_state" pointer was access before checking if it was NULL. Avoid a possible NULL pointer dereference by accessing the plane address after the check. Addresses-Coverity-ID: 1493892 ("Dereference before null check") Fixes: 3f68c01be9a22 ("drm/amd/display: add cyan_skillfish display suppor