summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorChen Li <chenli@uniontech.com>2021-03-03 11:54:56 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-03-03 10:51:37 -0500
commit147ab7a187511a97d723cdec69b485e8aad237a5 (patch)
tree91a355aea80bca81918d87c7230403d26287742f /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentb4d916ee0e947f727b48c5abfc1fa5aed3243763 (diff)
downloadlinux-147ab7a187511a97d723cdec69b485e8aad237a5.tar.bz2
drm/amdgpu: correct DRM_ERROR for kvmalloc_array
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index d9ae2cb86bc7..b5c766998045 100644
--- 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;
}