drm/amdkfd: print address in hex format rather than decimal
Subsystems (3)
PATCH 1/1 drm/amdkfd: print address in hex format rather than decimal
Addresses should be printed in hex format.
Signed-off-by Yifan Zhang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +1 -1
@@ -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;
Signature · 1 line
2.37.1
Quoted 3 lines · Yifan Zhang
Addresses should be printed in hex format.
Signed-off-by Yifan Zhang <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
Quoted 17 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +1
-1@@ -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;