[PATCH] drm/amdkfd: print address in hex format rather than decimal
Felix Kuehling
felix.kuehling at amd.com
Tue Sep 6 15:33:51 UTC 2022
On 2022-09-06 01:46, Yifan Zhang wrote:
> Addresses should be printed in hex format.
>
> Signed-off-by: Yifan Zhang <yifan1.zhang at amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> index cbd593f7d553..2170db83e41d 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> @@ -1728,7 +1728,7 @@ int amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu(
> add_kgd_mem_to_kfd_bo_list(*mem, avm->process_info, user_addr);
>
> if (user_addr) {
> - pr_debug("creating userptr BO for user_addr = %llu\n", user_addr);
> + pr_debug("creating userptr BO for user_addr = %llx\n", user_addr);
> ret = init_user_pages(*mem, user_addr, criu_resume);
> if (ret)
> goto allocate_init_user_pages_failed;
More information about the amd-gfx
mailing list