summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-05-06 18:41:20 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-11 00:53:11 +0300
commit948ceec7c41574666dd1b78fd6bad4d89cdae452 (patch)
tree9e3ffeb7ba032d3d50d0a9f69c5c00d52ddc94ff /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parente2ce1d9abd908d968c195a05be1d338e6fc89d84 (diff)
downloadlinux-948ceec7c41574666dd1b78fd6bad4d89cdae452.tar.xz
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>
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;
}