drm/i915: fix up merge with usb-next branch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 12:44:22 +0000 (13:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 12:46:05 +0000 (13:46 +0100)
In the manual fixup of the list_count_nodes() logic in
drivers/gpu/drm/i915/gt/intel_execlists_submission.c in the usb-next
branch, I missed that the print modifier was incorrect, resulting in
loads of build warnings on 32bit systems.

Fix this up by using "%su" instead of "%lu".

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 924fb3ec50f5 ("Merge 6.2-rc7 into usb-next")
Link: https://lore.kernel.org/r/20230206124422.2266892-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/gt/intel_execlists_submission.c

index 178ff20..ee71cde 100644 (file)
@@ -4158,7 +4158,7 @@ void intel_execlists_dump_active_requests(struct intel_engine_cs *engine,
 
        intel_engine_dump_active_requests(&engine->sched_engine->requests, hung_rq, m);
 
-       drm_printf(m, "\tOn hold?: %lu\n",
+       drm_printf(m, "\tOn hold?: %zu\n",
                   list_count_nodes(&engine->sched_engine->hold));
 
        spin_unlock_irqrestore(&engine->sched_engine->lock, flags);