drm/amdgpu/mes: fix format specifier for size_t

To avoid a warning on 32 bit.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher 2022-05-06 11:41:20 -04:00
parent e2ce1d9abd
commit 948ceec7c4
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ static int amdgpu_mes_doorbell_init(struct amdgpu_device *adev)
adev->mes.doorbell_id_offset = doorbell_start_offset / sizeof(u32);
adev->mes.max_doorbell_slices = doorbell_process_limit;
DRM_INFO("max_doorbell_slices=%ld\n", doorbell_process_limit);
DRM_INFO("max_doorbell_slices=%zu\n", doorbell_process_limit);
return 0;
}