Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/7] tests/kms_vrr: Fix compiler warn on 32bit
@ 2020-01-14 14:25 Ville Syrjala
  2020-01-14 14:25 ` [igt-dev] [PATCH i-g-t 2/7] tests/eviction_common: " Ville Syrjala
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Ville Syrjala @ 2020-01-14 14:25 UTC (permalink / raw)
  To: igt-dev

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

../tests/kms_vrr.c:307:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=]

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 tests/kms_vrr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
index 7bc4fc8a20d1..73115fef7b21 100644
--- a/tests/kms_vrr.c
+++ b/tests/kms_vrr.c
@@ -304,7 +304,7 @@ flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,
 		while (get_time_ns() < target_ns);
 	}
 
-	igt_info("Completed %u flips, %u were in threshold for %luns.\n",
+	igt_info("Completed %u flips, %u were in threshold for %"PRIu64"ns.\n",
 		 total_flip, total_pass, rate_ns);
 
 	return total_flip ? ((total_pass * 100) / total_flip) : 0;
-- 
2.24.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-01-16 18:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-14 14:25 [igt-dev] [PATCH i-g-t 1/7] tests/kms_vrr: Fix compiler warn on 32bit Ville Syrjala
2020-01-14 14:25 ` [igt-dev] [PATCH i-g-t 2/7] tests/eviction_common: " Ville Syrjala
2020-01-14 14:25 ` [igt-dev] [PATCH i-g-t 3/7] tests/perf: " Ville Syrjala
2020-01-14 14:25 ` [igt-dev] [PATCH i-g-t 4/7] lib/intel_aux_pgtable: Fix uint64_t vs. long mismatch Ville Syrjala
2020-01-14 14:25 ` [igt-dev] [PATCH i-g-t 5/7] tests/kms_dp_tiled_display: Use labs() for long Ville Syrjala
2020-01-14 14:25 ` [igt-dev] [PATCH i-g-t 6/7] tools/cnl_compute_wrpll: Fix abs(unsigned) Ville Syrjala
2020-01-14 14:25 ` [igt-dev] [PATCH i-g-t 7/7] tools/intel_panel_fitter: " Ville Syrjala
2020-01-14 14:29   ` Chris Wilson
2020-01-14 15:24 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/7] tests/kms_vrr: Fix compiler warn on 32bit Patchwork
2020-01-16 18:49 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox