artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb3bfe
)
drm/amdgpu: fix error handling in amdgpu_bo_list_get()
author
jsg
<jsg@openbsd.org>
Thu, 30 Nov 2023 02:54:25 +0000
(
02:54
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 30 Nov 2023 02:54:25 +0000
(
02:54
+0000)
From Christian Koenig
c52aac5884bc58e304d4c9cb8441baf8443ea189
in linux-6.1.y/6.1.64
12f76050d8d4d10dab96333656b821bd4620d103
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_bo_list.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_bo_list.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_bo_list.c
index
0d1f165
..
6f73b44
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_bo_list.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_bo_list.c
@@
-183,6
+183,7
@@
int amdgpu_bo_list_get(struct amdgpu_fpriv *fpriv, int id,
}
rcu_read_unlock();
+ *result = NULL;
return -ENOENT;
}