drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
authorjsg <jsg@openbsd.org>
Mon, 11 Apr 2022 03:48:23 +0000 (03:48 +0000)
committerjsg <jsg@openbsd.org>
Mon, 11 Apr 2022 03:48:23 +0000 (03:48 +0000)
commit574f34472dd90906066e8be4d9bb2bf2f88bdae4
treef02d316404c3d5c19f2dfbcb58ccd7a28e4b45b2
parentb505d99b4a693e886bd22e5575f552b378705c6c
drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()

From Zhou Qingyang
bdc7429708a0772d90c208975694f7c2133b1202 in linux 5.15.y/5.15.33
588a70177df3b1777484267584ef38ab2ca899a2 in mainline linux
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c