Skip to contentSkip to conversation

i915: fix up merge with usb-next branch

PATCH New Greg Kroah-Hartman 1 participant 1 message Feb 6, 2023

Subsystems (3)
lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH 1/1 i915: fix up merge with usb-next branch

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".

Fixes 924fb3ec50f5 ("Merge 6.2-rc7 into usb-next")
---
 drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/intel_execlists_submission.c +1 -1
index 178ff20648c5..ee71cde2ffc6 100644
@@ -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);
Signature · 1 line
2.39.1