Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: jordan.l.justen@intel.com, christoph.manszewski@intel.com,
	kamil.konieczny@linux.intel.com,
	Dominik Grzegorzek <dominik.grzegorzek@intel.com>
Subject: [PATCH i-g-t 2/3] tests/intel/xe_eudebug_online: Fix 32b compilation warnings
Date: Wed, 22 Jan 2025 15:44:18 +0100	[thread overview]
Message-ID: <20250122144419.327706-2-dominik.grzegorzek@intel.com> (raw)
In-Reply-To: <20250122144419.327706-1-dominik.grzegorzek@intel.com>

Fix all debug prints which were causing compilation warnings for 32b
archs.

Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
---
 tests/intel/xe_eudebug_online.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/intel/xe_eudebug_online.c b/tests/intel/xe_eudebug_online.c
index f532387af..1a146d8c4 100644
--- a/tests/intel/xe_eudebug_online.c
+++ b/tests/intel/xe_eudebug_online.c
@@ -569,7 +569,7 @@ static void get_aips_offset_table(struct online_debug_data *data, int threads)
 
 	igt_debug("AIPs offset table:\n");
 	for (int i = 0; i < threads; i++)
-		igt_debug("%lx\n", data->aips_offset_table[i]);
+		igt_debug("%" PRIx64 "\n", data->aips_offset_table[i]);
 }
 
 static int get_stepped_threads_count(struct online_debug_data *data, int threads)
@@ -2328,11 +2328,11 @@ static void test_many_sessions_on_tiles(int fd, bool multi_tile)
 
 		if (multi_tile)
 			igt_assert_f(diff < WORKLOAD_DELAY_US,
-				     "Expected to execute workloads concurrently. Actual delay: %lu ms\n",
+				     "Expected to execute workloads concurrently. Actual delay: %" PRIu64 " ms\n",
 				     diff);
 		else
 			igt_assert_f(diff >= WORKLOAD_DELAY_US,
-				     "Expected a serialization of workloads. Actual delay: %lu ms\n",
+				     "Expected a serialization of workloads. Actual delay: %" PRIu64 " ms\n",
 				     diff);
 	}
 
-- 
2.34.1


  reply	other threads:[~2025-01-22 14:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22 14:44 [PATCH i-g-t 1/3] lib/xe_eudebug: Fix 32b compilation warnings/errors Dominik Grzegorzek
2025-01-22 14:44 ` Dominik Grzegorzek [this message]
2025-01-24 14:00   ` [PATCH i-g-t 2/3] tests/intel/xe_eudebug_online: Fix 32b compilation warnings Kamil Konieczny
2025-01-22 14:44 ` [PATCH i-g-t 3/3] tests/intel/xe_eudebug_online: Fix 32b compilation errors Dominik Grzegorzek
2025-01-24 14:07   ` Kamil Konieczny
2025-01-22 17:22 ` ✓ Xe.CI.BAT: success for series starting with [i-g-t,1/3] lib/xe_eudebug: Fix 32b compilation warnings/errors Patchwork
2025-01-22 17:26 ` ✓ i915.CI.BAT: " Patchwork
2025-01-23  5:10 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-24 14:14   ` Grzegorzek, Dominik
2025-01-23 19:23 ` ✗ i915.CI.Full: " Patchwork
2025-01-24 14:15   ` Grzegorzek, Dominik
2025-01-24 15:04 ` [PATCH i-g-t 1/3] " Kamil Konieczny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250122144419.327706-2-dominik.grzegorzek@intel.com \
    --to=dominik.grzegorzek@intel.com \
    --cc=christoph.manszewski@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jordan.l.justen@intel.com \
    --cc=kamil.konieczny@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox