All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] runner: Flip kill args
@ 2018-11-27 12:22 Chris Wilson
  2018-11-27 12:42 ` Petri Latvala
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Chris Wilson @ 2018-11-27 12:22 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

int kill(pid_t pid, int sig)!

Fixes: a6b514d242bd ("runner: Be patient for processes to die")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Petri Latvala <petri.latvala@intel.com>
---
 runner/executor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runner/executor.c b/runner/executor.c
index 62901d86a..f75efbbc4 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -545,7 +545,7 @@ static int monitor_output(pid_t child,
 				 * forward progress towards exiting (i.e. still
 				 * freeing all of its resources).
 				 */
-				if (kill(0, child) == 0 && !tainted(&taints)) {
+				if (kill(child, 0) == 0 && !tainted(&taints)) {
 					intervals_left =  1;
 					break;
 				}
-- 
2.20.0.rc1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2018-11-27 15:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 12:22 [igt-dev] [PATCH i-g-t] runner: Flip kill args Chris Wilson
2018-11-27 12:42 ` Petri Latvala
2018-11-27 12:52 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2018-11-27 14:05 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2018-11-27 15:55 ` [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.