Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/7] tests/kms_vrr: Fix compiler warn on 32bit
Date: Tue, 14 Jan 2020 16:25:17 +0200	[thread overview]
Message-ID: <20200114142523.10603-1-ville.syrjala@linux.intel.com> (raw)

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

             reply	other threads:[~2020-01-14 14:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-14 14:25 Ville Syrjala [this message]
2020-01-14 14:25 ` [igt-dev] [PATCH i-g-t 2/7] tests/eviction_common: Fix compiler warn on 32bit 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

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=20200114142523.10603-1-ville.syrjala@linux.intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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