aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2022-05-06 11:41:20 -0400
committerAlex Deucher <[email protected]>2022-05-10 17:53:11 -0400
commit948ceec7c41574666dd1b78fd6bad4d89cdae452 (patch)
tree9e3ffeb7ba032d3d50d0a9f69c5c00d52ddc94ff /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parente2ce1d9abd908d968c195a05be1d338e6fc89d84 (diff)
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.c2
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;
}