Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v2 0/2] Avoid process exit return values in igt_kmod
@ 2022-02-21 10:24 Anshuman Gupta
  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
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Anshuman Gupta @ 2022-02-21 10:24 UTC (permalink / raw)
  To: igt-dev; +Cc: petri.latvala

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

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

end of thread, other threads:[~2022-02-22  5:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-21 10:24 [igt-dev] [PATCH i-g-t v2 0/2] Avoid process exit return values in igt_kmod Anshuman Gupta
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox