Commit 25746a3f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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

Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: 924fb3ec ("Merge 6.2-rc7 into usb-next")
Link: https://lore.kernel.org/r/20230206124422.2266892-1-gregkh@linuxfoundation.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fb6211f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);