check return value of drm_attach_pci()
authorjsg <jsg@openbsd.org>
Mon, 14 Feb 2022 05:20:03 +0000 (05:20 +0000)
committerjsg <jsg@openbsd.org>
Mon, 14 Feb 2022 05:20:03 +0000 (05:20 +0000)
commit99312d94c1f180664ddcfdbff29d993d72975cd3
tree9915272819030388fd8475d756c4a420c1cc0b74
parent63036dfc3746dff5f636a3cfa5768b6acee62400
check return value of drm_attach_pci()
adapted from a diff by Ted Bullock
sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
sys/dev/pci/drm/i915/i915_drv.c
sys/dev/pci/drm/radeon/radeon_kms.c