artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc45ccd
)
drm/amdgpu: correct chunk_ptr to a pointer to chunk.
author
jsg
<jsg@openbsd.org>
Thu, 14 Dec 2023 05:14:10 +0000
(
05:14
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 14 Dec 2023 05:14:10 +0000
(
05:14
+0000)
From YuanShang
9046665befd6e9b9b97df458dc4c41cfe63e21d3
in linux-6.1.y/6.1.68
50d51374b498457c4dea26779d32ccfed12ddaff
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
index
b8e56b1
..
a946824
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
@@
-201,7
+201,7
@@
static int amdgpu_cs_pass1(struct amdgpu_cs_parser *p,
}
for (i = 0; i < p->nchunks; i++) {
- struct drm_amdgpu_cs_chunk __user *
*
chunk_ptr = NULL;
+ struct drm_amdgpu_cs_chunk __user *chunk_ptr = NULL;
struct drm_amdgpu_cs_chunk user_chunk;
uint32_t __user *cdata;