diff options
| author | Alex Deucher <[email protected]> | 2022-05-06 15:41:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-10 21:53:11 +0000 |
| commit | 948ceec7c41574666dd1b78fd6bad4d89cdae452 (patch) | |
| tree | 9e3ffeb7ba032d3d50d0a9f69c5c00d52ddc94ff /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | drm/amdgpu: make smu_v13_0_7_check_fw_status() static (diff) | |
| download | kernel-948ceec7c41574666dd1b78fd6bad4d89cdae452.tar.gz kernel-948ceec7c41574666dd1b78fd6bad4d89cdae452.zip | |
drm/amdgpu/mes: fix format specifier for size_t
To avoid a warning on 32 bit.
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Guchun Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c index 72bafba1c470..69a70a0aaed9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c @@ -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; } |
