From: Anshuman Gupta <anshuman.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: petri.latvala@intel.com
Subject: [igt-dev] [PATCH i-g-t v2 0/2] Avoid process exit return values in igt_kmod
Date: Mon, 21 Feb 2022 15:54:21 +0530 [thread overview]
Message-ID: <20220221102423.8089-1-anshuman.gupta@intel.com> (raw)
Kmod igt library functions like igt_i915_driver_{load, unload}
uses process exit IGT_EXIT_{FAILURE, SKIP, SUCCESS} return values.
Let these function return actual return values
from returned igt_kmod_{load, unload} functions.
Also modify the perf_pmu test to use
__igt_i915_driver_unload() accordingly.
v2:
- Addressed review comment from petri.
Anshuman Gupta (2):
lib/igt_kmod: Don't use process exit return value
test/perf_pmu: Change module unload assertion
lib/igt_kmod.c | 34 +++++++++++++++++++++-------------
tests/i915/perf_pmu.c | 6 +++---
2 files changed, 24 insertions(+), 16 deletions(-)
--
2.26.2
next reply other threads:[~2022-02-21 10:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 10:24 Anshuman Gupta [this message]
2022-02-21 10:24 ` [igt-dev] [PATCH i-g-t v2 1/2] lib/igt_kmod: Don't use process exit return value Anshuman Gupta
2022-02-21 20:28 ` Dixit, Ashutosh
2022-02-21 10:24 ` [igt-dev] [PATCH i-g-t v2 2/2] test/perf_pmu: Change module unload assertion Anshuman Gupta
2022-02-21 20:29 ` Dixit, Ashutosh
2022-02-21 14:19 ` [igt-dev] ✗ Fi.CI.BAT: failure for Avoid process exit return values in igt_kmod (rev2) Patchwork
2022-02-21 17:24 ` Anshuman Gupta
2022-02-22 3:45 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-02-22 5:13 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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=20220221102423.8089-1-anshuman.gupta@intel.com \
--to=anshuman.gupta@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=petri.latvala@intel.com \
/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