aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/atom.c b/drivers/gpu/drm/amd/amdgpu/atom.c
index 69500a8b4e2d..e9934de1b9cf 100644
--- a/drivers/gpu/drm/amd/amdgpu/atom.c
+++ b/drivers/gpu/drm/amd/amdgpu/atom.c
@@ -1221,7 +1221,7 @@ static int amdgpu_atom_execute_table_locked(struct atom_context *ctx, int index,
1221 ectx.abort = false; 1221 ectx.abort = false;
1222 ectx.last_jump = 0; 1222 ectx.last_jump = 0;
1223 if (ws) 1223 if (ws)
1224 ectx.ws = kzalloc(4 * ws, GFP_KERNEL); 1224 ectx.ws = kcalloc(4, ws, GFP_KERNEL);
1225 else 1225 else
1226 ectx.ws = NULL; 1226 ectx.ws = NULL;
1227 1227