All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/3] i915/gem_ctx_persistence: Use "%u" for -1u conversion
@ 2020-05-19  6:34 Chris Wilson
  2020-05-19  6:34 ` [igt-dev] [PATCH i-g-t 2/3] Always pass device to igt_params_set Chris Wilson
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Chris Wilson @ 2020-05-19  6:34 UTC (permalink / raw)
  To: igt-dev; +Cc: Chris Wilson

The debugfs modparams are more picky and refuse to do the implicit
unsigned conversion.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/i915/gem_ctx_persistence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_ctx_persistence.c b/tests/i915/gem_ctx_persistence.c
index ce9f02350..4a1ef0f27 100644
--- a/tests/i915/gem_ctx_persistence.c
+++ b/tests/i915/gem_ctx_persistence.c
@@ -1127,7 +1127,7 @@ igt_main
 		igt_require_gem(i915);
 
 		/* Restore the reset modparam if left clobbered */
-		igt_assert(igt_params_set(i915, "reset", "%d", -1));
+		igt_assert(igt_params_set(i915, "reset", "%u", -1));
 
 		enable_hangcheck(i915);
 		igt_install_exit_handler(exit_handler);
-- 
2.26.2

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

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

end of thread, other threads:[~2020-05-26 13:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19  6:34 [igt-dev] [PATCH i-g-t 1/3] i915/gem_ctx_persistence: Use "%u" for -1u conversion Chris Wilson
2020-05-19  6:34 ` [igt-dev] [PATCH i-g-t 2/3] Always pass device to igt_params_set Chris Wilson
2020-05-19  6:34 ` [igt-dev] [PATCH i-g-t 3/3] lib: Cleanup __igt_params_open() Chris Wilson
2020-05-19  7:17 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] i915/gem_ctx_persistence: Use "%u" for -1u conversion Patchwork
2020-05-19  8:44 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2020-05-20  9:34 ` [igt-dev] [PATCH i-g-t 1/3] " Juha-Pekka Heikkila
2020-05-26 13:04 ` Jani Nikula

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.