All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/4] kms_content_protection: Fix log bug on 32-bit platforms.
@ 2018-11-14 22:28 Eric Anholt
  2018-11-14 22:28 ` [PATCH i-g-t 2/4] v3d: Import the V3D DRM UAPI header Eric Anholt
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Eric Anholt @ 2018-11-14 22:28 UTC (permalink / raw)
  To: intel-gfx

long is different between 32 and 64 and should basically never be
used.  Fixes compiler warning about passing the wrong type.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 tests/kms_content_protection.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 801eff66c272..bb9ecd3f4cde 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -89,7 +89,8 @@ wait_for_prop_value(igt_output_t *output, uint64_t expected,
 			return true;
 		usleep(1000);
 	}
-	igt_info("prop_value mismatch %ld != %ld\n", val, expected);
+	igt_info("prop_value mismatch %lld != %lld\n",
+		 (long long)val, (long long)expected);
 
 	return false;
 }
-- 
2.19.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2018-11-27 20:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-14 22:28 [PATCH i-g-t 1/4] kms_content_protection: Fix log bug on 32-bit platforms Eric Anholt
2018-11-14 22:28 ` [PATCH i-g-t 2/4] v3d: Import the V3D DRM UAPI header Eric Anholt
2018-11-21 10:15   ` Petri Latvala
2018-11-14 22:28 ` [PATCH i-g-t 3/4] Add v3d helper library Eric Anholt
2018-11-21 10:17   ` Petri Latvala
2018-11-14 22:28 ` [PATCH i-g-t 4/4] igt/v3d_*: Add new tests for the V3D UABI Eric Anholt
2018-11-21 10:13   ` Petri Latvala
2018-11-26 20:46     ` Eric Anholt
2018-11-27 10:16       ` Petri Latvala
2018-11-27 20:46         ` Eric Anholt
2018-11-14 22:50 ` ✓ Fi.CI.BAT: success for series starting with [1/4] kms_content_protection: Fix log bug on 32-bit platforms Patchwork
2018-11-15  6:24 ` ✗ Fi.CI.IGT: failure " Patchwork
2018-11-15 11:17 ` [PATCH i-g-t 1/4] " Ville Syrjälä
2018-11-15 18:51   ` Eric Anholt
2018-11-15 20:40     ` Ville Syrjälä

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.