From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 1/3] i915/gem_ctx_persistence: Use "%u" for -1u conversion
Date: Wed, 20 May 2020 12:34:35 +0300 [thread overview]
Message-ID: <9fa3e767-624a-0e89-1dd2-a9954b9ecf54@gmail.com> (raw)
In-Reply-To: <20200519063411.1541230-1-chris@chris-wilson.co.uk>
Series
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
On 19.5.2020 9.34, Chris Wilson wrote:
> 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);
>
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2020-05-20 9:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Juha-Pekka Heikkila [this message]
2020-05-26 13:04 ` [igt-dev] [PATCH i-g-t 1/3] " Jani Nikula
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=9fa3e767-624a-0e89-1dd2-a9954b9ecf54@gmail.com \
--to=juhapekka.heikkila@gmail.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