Commit 147ab7a1 authored by Chen Li's avatar Chen Li Committed by Alex Deucher
Browse files

drm/amdgpu: correct DRM_ERROR for kvmalloc_array



This may avoid debug confusion.

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarChen Li <chenli@uniontech.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b4d916ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}