From: Chris Wilson <chris@chris-wilson.co.uk>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] f3
Date: Wed, 25 Jul 2018 22:59:08 +0100 [thread overview]
Message-ID: <20180725215908.2601-1-chris@chris-wilson.co.uk> (raw)
---
tests/drv_module_reload.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/drv_module_reload.c b/tests/drv_module_reload.c
index d717eb61e..0d2f9e265 100644
--- a/tests/drv_module_reload.c
+++ b/tests/drv_module_reload.c
@@ -251,6 +251,9 @@ inject_fault(const char *module_name, const char *opt, int fault)
igt_assert(fault > 0);
snprintf(buf, sizeof(buf), "%s=%d", opt, fault);
+ if (fault > 3)
+ return fault;
+
if (igt_kmod_load(module_name, buf)) {
igt_warn("Failed to load module '%s' with options '%s'\n",
module_name, buf);
--
2.18.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next reply other threads:[~2018-07-25 21:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-25 21:59 Chris Wilson [this message]
2018-07-26 1:00 ` [igt-dev] ✓ Fi.CI.BAT: success for f3 (rev2) Patchwork
2018-07-26 4:33 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2018-07-25 21:58 [igt-dev] [PATCH i-g-t] f3 Chris Wilson
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=20180725215908.2601-1-chris@chris-wilson.co.uk \
--to=chris@chris-wilson.co.uk \
--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;
as well as URLs for NNTP newsgroup(s).