All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v3 0/2] Avoid process exit return values in igt_kmod
@ 2022-02-22 14:08 Anshuman Gupta
  2022-02-22 14:08 ` [igt-dev] [PATCH i-g-t v3 1/2] lib/igt_kmod: Don't use process exit return value Anshuman Gupta
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Anshuman Gupta @ 2022-02-22 14:08 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.
v3:
- Addressed review comment from Ashutosh.

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 | 10 ++++++----
 2 files changed, 27 insertions(+), 17 deletions(-)

-- 
2.26.2

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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-22 14:08 [igt-dev] [PATCH i-g-t v3 0/2] Avoid process exit return values in igt_kmod Anshuman Gupta
2022-02-22 14:08 ` [igt-dev] [PATCH i-g-t v3 1/2] lib/igt_kmod: Don't use process exit return value Anshuman Gupta
2022-02-22 14:08 ` [igt-dev] [PATCH i-g-t v3 2/2] test/perf_pmu: Change module unload assertion Anshuman Gupta
2022-02-22 17:17   ` Dixit, Ashutosh
2022-02-22 17:30 ` [igt-dev] ✓ Fi.CI.BAT: success for Avoid process exit return values in igt_kmod (rev3) Patchwork
2022-02-22 21:56 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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.