Skip to content

Commit

Permalink
hsa/radeon: Fix typo in sizeof call
Browse files Browse the repository at this point in the history
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
  • Loading branch information
Oded Gabbay committed Jul 27, 2014
1 parent 2b72e9f commit 9bfc44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/hsa/radeon/kfd_kernel_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static bool initialize(struct kernel_queue *kq, struct kfd_dev *dev,
goto err_rptr_allocate_vidmem;

retval = radeon_kfd_vidmem_alloc_map(kq->dev, &kq->wptr_mem, (void **)&kq->wptr_kernel, &kq->wptr_gpu_addr,
sizeof(*kq->rptr_kernel));
sizeof(*kq->wptr_kernel));
if (retval != 0)
goto err_wptr_allocate_vidmem;

Expand Down

0 comments on commit 9bfc44c

Please sign in to comment.