projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d916e
)
drm/amdgpu: correct DRM_ERROR for kvmalloc_array
author
Chen Li
<chenli@uniontech.com>
Wed, 3 Mar 2021 03:54:56 +0000
(11:54 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 3 Mar 2021 15:51:37 +0000
(10:51 -0500)
This may avoid debug confusion.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Chen Li <chenli@uniontech.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index d9ae2cb86bc73e3b049bbde2e4d941d066f96609..b5c7669980458480f2ff167fd55521eb18a56852 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@
-559,7
+559,7
@@
static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p,
sizeof(struct page *),
GFP_KERNEL | __GFP_ZERO);
if (!e->user_pages) {
- DRM_ERROR("
calloc
failure\n");
+ DRM_ERROR("
kvmalloc_array
failure\n");
return -ENOMEM;
}