]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amdgpu/mes: fix format specifier for size_t
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 6 May 2022 15:41:20 +0000 (11:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:11 +0000 (17:53 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c

index 72bafba1c470ce0a516204fd531a607ca53d9d0a..69a70a0aaed932c6ad81e38297b3648442dc2d50 100644 (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;
 }