drm/amdgpu: Fix resource leak on probe error path
authorjsg <jsg@openbsd.org>
Wed, 4 Aug 2021 11:32:44 +0000 (11:32 +0000)
committerjsg <jsg@openbsd.org>
Wed, 4 Aug 2021 11:32:44 +0000 (11:32 +0000)
commit43dd1d0082dcea86c02beb07e717b95a13020012
tree29d8d0ca98713bd59a1c547c5dafd7ebcbee6702
parente2c681d70f065798d7a581fd1ac2881ba97517d5
drm/amdgpu: Fix resource leak on probe error path

From Jiri Kosina
fc2756cce06f9833ebabd309b5b5080ed5c56897 in linux 5.10.y/5.10.56
d47255d3f87338164762ac56df1f28d751e27246 in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c