From 2d4adcdc4a64a23ea445c56f4ecdf80b6f26a2d6 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 1 Aug 2022 16:18:53 +0000 Subject: [PATCH] drm/amd/display: Fix wrong format specifier in amdgpu_dm.c From Hayden Goodfellow c6e4817ab622f526d6afe9e02c6d85b177b3e846 in linux 5.15.y/5.15.58 655c167edc8c260b6df08bdcfaca8afde0efbeb6 in mainline linux --- sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c index a2d8e03c8b8..14176a84e73 100644 --- a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -758,7 +758,7 @@ static void dm_dmub_outbox1_low_irq(void *interrupt_params) do { dc_stat_get_dmub_notification(adev->dm.dc, ¬ify); if (notify.type >= ARRAY_SIZE(dm->dmub_thread_offload)) { - DRM_ERROR("DM: notify type %d larger than the array size %ld !", notify.type, + DRM_ERROR("DM: notify type %d larger than the array size %zu!", notify.type, ARRAY_SIZE(dm->dmub_thread_offload)); continue; } -- 2.20.1